summaryrefslogtreecommitdiff
path: root/lib/libXaw/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXaw/autogen.sh')
-rw-r--r--lib/libXaw/autogen.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libXaw/autogen.sh b/lib/libXaw/autogen.sh
index fc34bd55c..aa8f07d5e 100644
--- a/lib/libXaw/autogen.sh
+++ b/lib/libXaw/autogen.sh
@@ -1,14 +1,17 @@
#! /bin/sh
-srcdir=`dirname $0`
+srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
-cd $srcdir
+cd "$srcdir"
autoreconf -v --install || exit 1
-cd $ORIGDIR || exit $?
+cd "$ORIGDIR" || exit $?
+
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+ git config --local format.subjectPrefix "PATCH libXaw"
if test -z "$NOCONFIGURE"; then
- $srcdir/configure "$@"
+ exec "$srcdir"/configure "$@"
fi