diff options
author | xue <> | 2006-04-26 21:18:01 +0000 |
---|---|---|
committer | xue <> | 2006-04-26 21:18:01 +0000 |
commit | 8ab196ce6c2d5de323bdd8ebcc11a73814c0cdca (patch) | |
tree | e77b1306648d03920439290bb8f3e27821410804 /buildscripts/jsbuilder/build.php | |
parent | 5ba6cd4be568f686d890835a77586077cde1a943 (diff) |
Merge from 3.0 branch till 971.
Diffstat (limited to 'buildscripts/jsbuilder/build.php')
-rw-r--r-- | buildscripts/jsbuilder/build.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/jsbuilder/build.php b/buildscripts/jsbuilder/build.php index 910f0394..cc41c963 100644 --- a/buildscripts/jsbuilder/build.php +++ b/buildscripts/jsbuilder/build.php @@ -166,7 +166,7 @@ foreach($libraries as $libFile => $sourceFiles) echo "Saving file {$libFile}\n";
$builds++;
}
-if(preg_match('/doc*/', $argv[1]))
+if(isset($argv[1]) && preg_match('/doc*/', $argv[1]))
{
$files = "";
foreach($libraries as $lib)
|