diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2017-02-18 10:29:40 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2017-02-18 10:29:40 +0100 |
commit | 322d6fa0761cfc79f14b03241610de561a3463c3 (patch) | |
tree | b0d76dba2988e47fb7ba5084f6db74e848eac8c7 | |
parent | 85f77c00c97ee5f658f4acd77987a3224036fbfd (diff) | |
parent | 2effad417dabccd0b41ac32dc8108c99c73801d2 (diff) |
Merge remote-tracking branch 'origin/master' into obsd
-rwxr-xr-x | autogen.sh | 11 | ||||
-rw-r--r-- | xinit.c | 2 |
2 files changed, 8 insertions, 5 deletions
@@ -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/xinit" if test -z "$NOCONFIGURE"; then - $srcdir/configure "$@" + exec "$srcdir"/configure "$@" fi @@ -638,7 +638,7 @@ shutdown(void) Fatal("Unable to run program \"%s\"", "kbd_mode"); break; - case 1: + case -1: Error("fork failed"); break; |