From 80a62e61ad79ff2644e156e8d2dc6897438912df Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 18 Aug 2011 12:10:20 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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`;
-- 
2.39.2