Fixed: Allow space in path to .xib/.cib file when running nib2cib

This commit is contained in:
Martin Carlberg
2022-03-29 10:39:04 +02:00
parent 5c91a08eaf
commit 24b36cdd95
+1 -1
View File
@@ -447,7 +447,7 @@ BundleTask.prototype.defineResourceTask = function(aResourcePath, aDestinationPa
filedir(cibDestinationPath, [aResourcePath], function() filedir(cibDestinationPath, [aResourcePath], function()
{ {
try { try {
child_process.execSync("nib2cib " + aResourcePath + " " + cibDestinationPath + " " + nib2cibFlags, {stdio: 'inherit'}); child_process.execSync("nib2cib '" + aResourcePath + "' '" + cibDestinationPath + "' " + nib2cibFlags, {stdio: 'inherit'});
} catch(error) { } catch(error) {
console.log(error); console.log(error);
console.log(error.output.toString()); console.log(error.output.toString());