]> Savannah Git Hosting - gnulib.git/commitdiff
Port recent gnulib-tool change to Dash
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Oct 2017 22:46:10 +0000 (15:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Oct 2017 22:46:54 +0000 (15:46 -0700)
* gnulib-tool (func_create_testdir): Don't assume that the shell
retokenizes after expanding "$@" inside the call to
func_execute_command.  Dash 0.5.8-2.1ubuntu2 does not.

ChangeLog
gnulib-tool

index 26c56b17daa6327372690384ebb5696ae9370143..16506ba193b282feb8536230d875930a84a7d2c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-10-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port recent gnulib-tool change to Dash
+       * gnulib-tool (func_create_testdir): Don't assume that the shell
+       retokenizes after expanding "$@" inside the call to
+       func_execute_command.  Dash 0.5.8-2.1ubuntu2 does not.
+
 2017-10-27  Jim Meyering  <meyering@fb.com>
 
        timespec.h: use "assure" to avoid a spurious warning
index 36493a9eea47247186cf876ce4f1d164a947eba8..03641ae2e59a5abc17d596f65c9fbf8ef042c938 100755 (executable)
@@ -6478,7 +6478,9 @@ func_create_testdir ()
    fi
    func_execute_command ${AUTOCONF} || func_exit 1
    # Explicit 'touch config.h.in': see <https://savannah.gnu.org/support/index.php?109406>.
-   func_execute_command "${AUTOHEADER} && touch config.h.in" || func_exit 1
+   func_execute_command ${AUTOHEADER} &&
+       func_execute_command touch config.h.in ||
+           func_exit 1
    func_execute_command ${AUTOMAKE} --add-missing --copy || func_exit 1
    rm -rf autom4te.cache
   ) || func_exit 1
@@ -6501,7 +6503,9 @@ func_create_testdir ()
      fi
      func_execute_command ${AUTOCONF} || func_exit 1
      # Explicit 'touch config.h.in': see <https://savannah.gnu.org/support/index.php?109406>.
-     func_execute_command "${AUTOHEADER} && touch config.h.in" || func_exit 1
+     func_execute_command ${AUTOHEADER} &&
+         func_execute_command touch config.h.in ||
+             func_exit 1
      func_execute_command ${AUTOMAKE} --add-missing --copy || func_exit 1
      rm -rf autom4te.cache
     ) || func_exit 1