summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2017-02-18 10:23:06 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2017-02-18 10:23:06 +0100
commit43c51ffbc0831c8bad21f3aa3ba613bf1a72f79c (patch)
tree4f067ad0b0491b42318c56e6b4c1310d05cd5012
parent133be90da03aa321ba9b39c496ee49d9f4331b37 (diff)
parent9f0b01c590d1bceb31657edbf52aa94680428038 (diff)
Merge remote-tracking branch 'origin/master' into obsd
-rwxr-xr-xautogen.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index fc34bd5..9a91d7c 100755
--- a/autogen.sh
+++ b/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 app/xdriinfo"
if test -z "$NOCONFIGURE"; then
- $srcdir/configure "$@"
+ exec "$srcdir"/configure "$@"
fi