bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bootstrap is broken


From: Debarshi Ray
Subject: bootstrap is broken
Date: Tue, 7 Oct 2008 02:21:23 +0530

This particular change due to 29dd8b5548ce047ce51ff9a73d6c4b50c9886771
has broken bootstrap for the particular use case where it is invoked
using an absolute path (eg.,
/devel/gnulib/git/gnulib/build-aux/bootstrap --skip-po
--gnulib-srcdir=/devel/gnulib/git/gnulib):

@@ -146,7 +146,13 @@ copy=false
 vc_ignore=auto

 # Override the default configuration, if necessary.
-test -r bootstrap.conf && . ./bootstrap.conf
+# Make sure that bootstrap.conf is sourced from the current directory
+# if we were invoked as "sh bootstrap".
+case "$0" in
+  */*) test -r "$0.conf" && . "$0.conf" ;;
+  *) test -r "$0.conf" && . ./"$0.conf" ;;
+esac
+

 if test "$vc_ignore" = auto; then
   vc_ignore=

Happy hacking,
Debarshi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]