projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fdf9cbe
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 04:04:59 +0000
(12:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 04:04:59 +0000
(12:04 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
2f73c73
..
6ef48b3
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-255,7
+255,8
@@
class Pman_Core_JsCompile extends Pman
usort($ofiles, $lsort);
$eoutput = escapeshellarg($output);
- $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' ') . ' 2>&1';
+ $toutput = escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output));
+ $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput -t $output" . implode($ofiles, ' ') . ' 2>&1';
//echo "<PRE>$cmd\n";
//echo `$cmd`;