On Sun, Jan 31, 2010 at 01:41:33AM +0100, Bruno Haible wrote: [...] > TMP_BASE=update-copyright.test > -trap 'rm -f $TMP_BASE*' 0 1 2 3 15 > +trap 'status=$?; rm -f $TMP_BASE*; exit $status' 0 > +trap 'rm -f $TMP_BASE*; (exit 77); exit 77' 1 2 3 15
The signal trap is a bit redundant, it could be written as trap '(exit 77); exit 77' 1 2 3 15 -- ldv
pgp5JIbvcL0KM.pgp
Description: PGP signature