// if packer is running, then dont compile - just output onebyone...
- require_once 'System.php';
- $pg = System::which('pgrep');
- $cmd = "$pg roobuilder";
- $out = trim(`$cmd`);
- if (strlen($out) > 0) {
- return false;
- }
-
-
-
+ require_once 'System.php';
$packer = System::which('roojspacker');
return true;
}
+
+
+ $pg = System::which('pgrep');
+ $cmd = "$pg roobuilder";
+ $out = trim(`$cmd`);
+ if (strlen($out) > 0) {
+ echo '<!-- onther process is compiling compile. -->';
+ return false;
+ }
+
+
if (file_exists($output)) {
unlink($output);
}