From 4127efea61a3a834df5f1ddbec5258e883063b5a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 18 Aug 2011 12:10:33 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/JsCompile.php b/JsCompile.php index d8b54b88..c60974c6 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -257,9 +257,10 @@ class Pman_Core_JsCompile extends Pman usort($ofiles, $lsort); $eoutput = escapeshellarg($output); - $toutput = "-t escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)); - $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput -t $toutput " . implode($ofiles, ' ') . ' 2>&1'; + $toutput = "-t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)); + + $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput $toutput " . implode($ofiles, ' ') . ' 2>&1'; //echo "
$cmd\n";
         //echo `$cmd`;
         
-- 
2.39.2