From: John Ellson Date: Thu, 10 Oct 2013 19:03:42 +0000 (-0400) Subject: try harder to run in top dir of clone X-Git-Tag: LAST_LIBGRAPH~9^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9200e346b57e558f8f6dd304ef448cd293a96b34;p=graphviz try harder to run in top dir of clone --- 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