]> granicus.if.org Git - graphviz/commitdiff
try harder to run in top dir of clone
authorJohn Ellson <ellson@research.att.com>
Thu, 10 Oct 2013 19:03:42 +0000 (15:03 -0400)
committerJohn Ellson <ellson@research.att.com>
Thu, 10 Oct 2013 19:03:42 +0000 (15:03 -0400)
builder.sh

index 8f03ceccc0b2cf910de1f9f151eccada34a98e21..c05aa106acfc2696224566453821a11049a8a045 100755 (executable)
@@ -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