From 56c05869da8132db80ed884184e7ca5d5d5780d8 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 1 Mar 2014 12:39:51 -0800 Subject: [PATCH] allow to run from bin directory, which turns out to be useful --- xwords4/android/scripts/find-and-ant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/scripts/find-and-ant.sh b/xwords4/android/scripts/find-and-ant.sh index 0eb278ebc..68ddb70ef 100755 --- a/xwords4/android/scripts/find-and-ant.sh +++ b/xwords4/android/scripts/find-and-ant.sh @@ -25,7 +25,7 @@ if [ $# -gt 0 ]; then shift fi -while [ ! -e $MANIFEST ]; do +while [ ! -e $MANIFEST -o $(basename $(pwd)) = 'bin' ]; do [ '/' = $(pwd) ] && usage "reached root without finding $MANIFEST" cd .. done