Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-libpciaccess: 提交

external/libpciaccess


Commit MetaInfo

修订版42240dcbbce8ec744401d4a464f71c3fbd3fca1b (tree)
时间2015-09-22 21:46:52
作者Emil Velikov <emil.l.velikov@gmai...>
CommiterAdam Jackson

Log Message

autogen.sh: pass --force to autoreconf, quote string variables

By passing --force autoreconf will update all the aux files, which would
otherwise be ignored if one updates autoconf/automake.

Quote the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when
it contains space.

v2: Also handle $srcdir and $0.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

更改概述

差异

--- a/autogen.sh
+++ b/autogen.sh
@@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=.
66 ORIGDIR=`pwd`
77 cd $srcdir
88
9-autoreconf -v --install || exit 1
10-cd $ORIGDIR || exit $?
9+autoreconf --force --verbose --install || exit 1
10+cd "$ORIGDIR" || exit $?
1111
1212 if test -z "$NOCONFIGURE"; then
1313 $srcdir/configure "$@"
Show on old repository browser