X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JsCompile.php;h=80a62e1c2b0cbc4e5a7014d86069dc5a9f37be57;hb=ef4dabf0a1586453f15a30bd52c9b2e58bcbf67c;hp=81bac8def4f0a96f55815ca2be5a912957a59eee;hpb=0e5ab646d3d9e9d8ed74b1ca5cbfc0ce336d68ae;p=Pman.Core diff --git a/JsCompile.php b/JsCompile.php index 81bac8de..80a62e1c 100644 --- 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 "
$cmd\n"; echo `$cmd`; exit;
         `$cmd`;