diff --git a/Tools/fontinfo/Jakefile b/Tools/fontinfo/Jakefile index de6d54f40..4ab6d6c6e 100644 --- a/Tools/fontinfo/Jakefile +++ b/Tools/fontinfo/Jakefile @@ -27,13 +27,13 @@ task ("build", function() task ("clean", function() { - if (OS.system("xcodebuild clean")) + if (executableExists("xcodebuild") && OS.system("xcodebuild clean")) OS.exit(1); }); task ("clobber", function() { - if (OS.system("xcodebuild clean")) + if (executableExists("xcodebuild") && OS.system("xcodebuild clean")) OS.exit(1); });