diff options
Diffstat (limited to 'font/sun-misc/autogen.sh')
-rw-r--r-- | font/sun-misc/autogen.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/font/sun-misc/autogen.sh b/font/sun-misc/autogen.sh index 904cd6746..2ab4e2cd3 100644 --- a/font/sun-misc/autogen.sh +++ b/font/sun-misc/autogen.sh @@ -1,12 +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 $? -$srcdir/configure --enable-maintainer-mode "$@" +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH font/sun-misc" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir"/configure "$@" +fi |