From 9200e346b57e558f8f6dd304ef448cd293a96b34 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Thu, 10 Oct 2013 15:03:42 -0400 Subject: [PATCH] try harder to run in top dir of clone --- builder.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builder.sh b/builder.sh index 8f03ceccc..c05aa106a 100755 --- a/builder.sh +++ b/builder.sh @@ -2,8 +2,10 @@ # build binary products all the way from git +cd $( dirname $0 ) + if ! test -d .git; then - echo "must be run in git clone" >&2 + echo "must be run from the top directory of a git clone" >&2 exit 1 fi -- 2.40.0