From 5156f22f1df85ecf87aca0721d75f63e5195c77a Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Fri, 19 Aug 2011 11:56:41 -0700 Subject: [PATCH] Check for coffee AFTER the path is alerted --- script/compile.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/compile.sh b/script/compile.sh index 29c35e4ac..19b056a26 100755 --- a/script/compile.sh +++ b/script/compile.sh @@ -1,6 +1,5 @@ #!/bin/sh -hash coffee 2>&- || { echo >&2 "error: Coffee is required but it's not installed (http://jashkenas.github.com/coffee-script/)."; exit 1; } - PATH="$PATH:/usr/local/bin/" +hash coffee 2>&- || { echo >&2 "error: Coffee is required but it's not installed (http://jashkenas.github.com/coffee-script/)."; exit 1; } coffee -o "$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/" HTML/*.coffee