Cleanup some build scripts

This commit is contained in:
tlrobinson
2009-12-19 04:31:11 -08:00
parent deed92cff7
commit bab0024e0c
4 changed files with 67 additions and 30 deletions
+3
View File
@@ -113,6 +113,9 @@ function partial_require(path, exports)
// FIXME: is there a better way to do this???
OS.system = function(aCommand)
{
if (Array.isArray(aCommand))
aCommand = aCommand.map(OS.enquote).join(" ");
return system("PATH=" + OS.enquote(bin) + ":$PATH " + aCommand);
}