]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'master' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 30 Dec 2014 21:51:26 +0000 (22:51 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 30 Dec 2014 21:51:26 +0000 (22:51 +0100)
* master:
  docs: "make distcheck" implementation details are not to be abused
  NEWS: improve and adjust in light of the oncoming 1.15 release
  shell-no-trail-bslash: improve diagnostic in case of failure

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
1  2 
doc/automake-ng.texi
t/ax/shell-no-trail-bslash.in
t/self-check-shell-no-trail-bslash.sh

Simple merge
index 353d4cde1c006c8ab59b0e1e295b2bf95bd9a5ac,26979b617d16f5c736210e5593a68bd152a3dae5..197927f48e53944aa7a3420279a2fa01d5c7c1d4
@@@ -40,13 -41,16 +41,15 @@@ am_SHELL=${AM_TESTSUITE_SHELL-'@SHELL@'
  
    if test x${shell_command+"set"} != x"set"; then
      if test $# -gt 0; then
-       shell_command=$(cat "$1")
+       shell_script=$1
+       shell_command=$(cat <"$shell_script")
      else
 -      # Some make implementations, like *BSD's, pass the recipes to the
 -      # shell through its standard input.  Trying to run our extra checks
 -      # in this case would be too tricky, so we just skip them.
 -      exit 0
 +      echo "$0: fatal: no shell script given," \
 +            "nor a command given via the '-c' option" >&2
 +      exit 1
      fi
    fi
+   original_shell_command=$shell_command
  
    tab='       '
    nl='
Simple merge