[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config.status doesn't exit
From: |
Akim Demaille |
Subject: |
Re: config.status doesn't exit |
Date: |
21 Sep 2000 09:05:32 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
| Hello!
| This program:
|
| #! /bin/sh
| tmp=`exit 1`
| echo "I'm alive"
|
| prints "I'm alive" under all shells except ash. But config.status uses
| this construct when checking existance of the input files and expects to
| exit in all shells.
|
| The patch is attached. It also included a test case.
|
| ChangeLog:
| * acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
| exits if any input file is missing.
| * tests/semantics.m4 (missing templates): Test it.
Great patch, thanks a lot Pavel. Apply.
Please, try to document ash's limitation too. Don't forget to include
the version of ash (if you know how to get it, I couldn't find it),
it's been fixed since:
~/src/bison % sh /tmp/foo.sh nostromo 9:02
I'm alive
~/src/bison % ash /tmp/foo.sh nostromo 9:02
I'm alive
~/src/bison % zsh /tmp/foo.sh nostromo 9:02
I'm alive