From 0d8bd95c86ce51b0b71fc34bee2f92d681978638 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Mon, 4 Apr 2011 23:56:30 -0400 Subject: [PATCH] Fixed: systems without xcodebuild would fail jake clean and jake clobber. --- Tools/fontinfo/Jakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); });