From b55774c0e0c1fc528f997cbdebc7f1cd65b8ddf1 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 9 Jan 2008 16:25:48 +0100 Subject: [PATCH] autogen.sh: Change to source directory first Change to the source tree's top directory before doing anything else. --- autogen.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autogen.sh b/autogen.sh index 01c075c9..5fea0bac 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,9 @@ #!/bin/sh +# Change to source tree +srcdir=`dirname "$0"` +[ -z "$srcdir" ] || cd "$srcdir" + echo "Generating configure files... may take a while." autoreconf --install --force && \