diff --git a/Tools/fontinfo/Jakefile b/Tools/fontinfo/Jakefile index 4ab6d6c6e..04b90edb4 100644 --- a/Tools/fontinfo/Jakefile +++ b/Tools/fontinfo/Jakefile @@ -16,7 +16,9 @@ task ("build", function() else args = "-sdk macosx " + args; - if (OS.system("xcodebuild " + args)) + var xcodebuild = env.CAPP_BUILD ? "xcodebuild " : "CAPP_BUILD=../../Build xcodebuild "; + + if (OS.system(xcodebuild + args)) OS.exit(1); } else