Fix gnulib/update-gnulib.sh
authorGary Benson <gbenson@redhat.com>
Fri, 21 Jun 2019 12:23:59 +0000 (13:23 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 21 Jun 2019 12:23:59 +0000 (13:23 +0100)
This commit fixes two paths in update-gnulib.sh that weren't updated
when gnulib was moved to toplevel.

gnulib/ChangeLog:

* update-gnulib.sh: Adjust paths.

gnulib/ChangeLog
gnulib/update-gnulib.sh

index 930023e6be4bb839317ac893a59fe39d20632151..0117dc5bae5012c04217a8097f513204c7965f25 100644 (file)
@@ -1,3 +1,7 @@
+2019-06-21  Gary Benson  <gbenson@redhat.com>
+
+       * update-gnulib.sh: Adjust paths.
+
 2019-06-14  Tom Tromey  <tom@tromey.com>
 
        * update-gnulib.sh: Adjust paths.
index fb79b23c5310ac57415326c5f5435006a5ec91b1..0e1df226de53d07b9cac7a942eeb73d84cb3600e 100755 (executable)
@@ -100,9 +100,9 @@ if [ "$gnulib_head_sha1" != "$GNULIB_COMMIT_SHA1" ]; then
    exit 1
 fi
 
-# Verify that we are in the gdb/ subdirectory.
-if [ ! -f ../main.c -o ! -d import ]; then
-   echo "Error: This script should be called from the gdb/gnulib subdirectory."
+# Verify that we are in the correct directory.
+if [ ! -f ../gdb/main.c -o ! -d import ]; then
+   echo "Error: This script should be called from the gnulib subdirectory."
    echo "Aborting."
    exit 1
 fi
@@ -191,5 +191,5 @@ $(find import/m4 -type f -name "*.m4" | LC_COLLATE=C sort | \
   sed 's/^/    /; s/$/ \\/; $s/ \\//g')
 EOF
 
-../../move-if-change ${ACLOCAL_M4_DEPS_FILE}.tmp ${ACLOCAL_M4_DEPS_FILE}
+../move-if-change ${ACLOCAL_M4_DEPS_FILE}.tmp ${ACLOCAL_M4_DEPS_FILE}
 rm -f ${ACLOCAL_M4_DEPS_FILE}.tmp
This page took 0.025713 seconds and 4 git commands to generate.