instead of $status which is read-only in Zsh.
+2004-09-10 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
+ instead of $status which is read-only in Zsh.
+
2004-09-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Alexandre Duret-Lutz <adl@gnu.org>
# Run the compile.
"$@"
-status=$?
+ret=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
fi
rmdir "$lockdir"
-exit $status
+exit $ret
# Local Variables:
# mode: shell-script
#!/bin/sh
-# Copyright (C) 1995, 2000, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1995, 2000, 2003, 2004 Free Software Foundation, Inc.
-scriptversion=2003-11-08.23
+scriptversion=2004-09-10.20
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1995.
#
tempdir=elc.$$
# Cleanup the temporary directory on exit.
-trap 'status=$?; rm -rf "$tempdir" && exit $status' 0
+trap 'ret=$?; rm -rf "$tempdir" && exit $ret' 0
trap '(exit $?); exit' 1 2 13 15
mkdir $tempdir
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2004-07-05.00
+scriptversion=2004-09-10.20
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
rmtmp=$dstdir/_rm.$$_
# Trap to clean up those temp files at exit.
- trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
trap '(exit $?); exit' 1 2 13 15
# Copy the file name to the temp name.
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
-scriptversion=2003-11-18.20
+scriptversion=2004-09-10.20
-# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003
+# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
# Free Software Foundation, Inc.
#
# Written by Tom Tromey <tromey@cygnus.com>.
0) $prog "$input" ;;
*) $prog "$@" "$input" ;;
esac
-status=$?
+ret=$?
-if test $status -eq 0; then
+if test $ret -eq 0; then
set X $pairlist
shift
first=yes
-e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \
- -e "s,$FROM,$TARGET," "$from" >"$target" || status=$?
+ -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$?
# Check whether header files must be updated.
if test $first = no; then
# is not specified, we don't want an error when the header
# file is "missing".
if test $first = yes; then
- status=1
+ ret=1
fi
fi
shift
first=no
done
else
- status=$?
+ ret=$?
fi
# Remove the directory.
cd ..
rm -rf $dirname
-exit $status
+exit $ret
# Local Variables:
# mode: shell-script