From: Alan Knowles Date: Thu, 18 Aug 2011 04:10:20 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=80a62e61ad79ff2644e156e8d2dc6897438912df JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 89b9ea94..d8b54b88 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -257,7 +257,8 @@ class Pman_Core_JsCompile extends Pman usort($ofiles, $lsort); $eoutput = escapeshellarg($output); - $toutput = escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)); + $toutput = "-t escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)); + $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput -t $toutput " . implode($ofiles, ' ') . ' 2>&1'; //echo "
$cmd\n";
         //echo `$cmd`;