diff options
Diffstat (limited to 't/ax/shell-no-trail-bslash.in')
-rw-r--r-- | t/ax/shell-no-trail-bslash.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/t/ax/shell-no-trail-bslash.in b/t/ax/shell-no-trail-bslash.in index e241eb801..fdf8d4e67 100644 --- a/t/ax/shell-no-trail-bslash.in +++ b/t/ax/shell-no-trail-bslash.in @@ -44,10 +44,9 @@ am_SHELL=${AM_TESTSUITE_SHELL-'@SHELL@'} 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 |