projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e5ab64
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 28 Feb 2013 16:06:47 +0000
(
00:06
+0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 28 Feb 2013 16:06:47 +0000
(
00:06
+0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
81bac8d
..
80a62e1
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-209,7
+209,10
@@
class Pman_Core_JsCompile extends Pman
mkdir(dirname($output), 0755, true);
}
$eoutput = escapeshellarg($output);
- $cmd = "$seed {$o['cssminify']} $eoutput " . implode($ofiles, ' ');
+ $cmd = $seed ?
+ ("$seed {$o['cssminify']} $eoutput " . implode($ofiles, ' ')) :
+ ("$gjs {$o['cssminify']} $eoutput " . implode($ofiles, ' ')) :
+ ;
//echo "<PRE>$cmd\n"; echo `$cmd`; exit;
`$cmd`;