projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c25dcb2
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Jul 2011 08:00:01 +0000
(16:00 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Jul 2011 08:00:01 +0000
(16:00 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
5b5885e
..
3af7788
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-138,7
+138,9
@@
class Pman_Core_JsCompile extends Pman
if ($max < $targetm) {
return true;
}
if ($max < $targetm) {
return true;
}
-
+ if (!file_exists(dirname($output))) {
+ mkdir(dirname($output), 0755, true);
+ }
$eoutput = escapeshellarg($output);
$cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' ');
echo "$cmd\n";
$eoutput = escapeshellarg($output);
$cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' ');
echo "$cmd\n";