From d51d67c9981a640734202fe1b2ac725594b8a442 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 22 Jul 2011 17:21:24 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/JsCompile.php b/JsCompile.php index 1896a1b7..8c2a3ddf 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -239,6 +239,7 @@ class Pman_Core_JsCompile extends Pman if (!file_exists(dirname($output))) { mkdir(dirname($output), 0755, true); } + sort($ofiles); $eoutput = escapeshellarg($output); $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' '); //echo "
$cmd\n";
-- 
2.39.2