[Xcb-commit] xcb/util: 3 commits - autogen.sh

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jul 24 21:24:19 UTC 2022


 autogen.sh |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

New commits:
commit 82e8eac6669a5e766f295685c973c0cd677d3cb9
Author: Mihail Konev <k.mvc at ya.ru>
Date:   Thu Jan 26 13:52:49 2017 +1000

    autogen: add default patch prefix
    
    Signed-off-by: Mihail Konev <k.mvc at ya.ru>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/autogen.sh b/autogen.sh
index d15c0fb..0971964 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -24,6 +24,9 @@ fi
 autoreconf -v --install || exit 1
 cd "$ORIGDIR" || exit $?
 
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+    git config --local format.subjectPrefix "PATCH libxcb-util"
+
 if test -z "$NOCONFIGURE"; then
     exec "$srcdir"/configure "$@"
 fi
commit 9f8dbe86f0b11300fec764957a16891af2edb456
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Mar 9 12:00:52 2015 +0000

    autogen.sh: use quoted string variables
    
    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
    fall-outs, when they contain space.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/autogen.sh b/autogen.sh
index 670514f..d15c0fb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,10 +1,10 @@
 #! /bin/sh
 
-srcdir=`dirname $0`
+srcdir=`dirname "$0"`
 test -z "$srcdir" && srcdir=.
 
 ORIGDIR=`pwd`
-cd $srcdir
+cd "$srcdir"
 
 # If this is a git checkout, verify that the submodules are initialized,
 # otherwise autotools will just fail with an unhelpful error message.
@@ -22,8 +22,8 @@ then
 fi
 
 autoreconf -v --install || exit 1
-cd $ORIGDIR || exit $?
+cd "$ORIGDIR" || exit $?
 
 if test -z "$NOCONFIGURE"; then
-    exec $srcdir/configure "$@"
+    exec "$srcdir"/configure "$@"
 fi
commit c52eaa7fbb159ab283c2400772ae60cb8678756c
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Tue Jan 24 10:32:07 2017 +1000

    autogen.sh: use exec instead of waiting for configure to finish
    
    Syncs the invocation of configure with the one from the server.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/autogen.sh b/autogen.sh
index fe63941..670514f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -25,5 +25,5 @@ autoreconf -v --install || exit 1
 cd $ORIGDIR || exit $?
 
 if test -z "$NOCONFIGURE"; then
-    $srcdir/configure "$@"
+    exec $srcdir/configure "$@"
 fi


More information about the xcb-commit mailing list