X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Felisp-comp;h=ecc6b150ba0b76138617476e636147f1c0dba49c;hb=11a637ed5febd2bc68591abf763a4b014da82664;hp=2d1eb651944ca2173448ce6a65c88bd76f0a4a71;hpb=3c33ad2a02157a4b803dc6056218f3254d2d5853;p=gnulib.git diff --git a/build-aux/elisp-comp b/build-aux/elisp-comp index 2d1eb6519..ecc6b150b 100755 --- a/build-aux/elisp-comp +++ b/build-aux/elisp-comp @@ -1,7 +1,8 @@ #!/bin/sh -# Copyright (C) 1995, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 1995, 2000, 2003, 2004, 2005, 2009, 2010 Free Software +# Foundation, Inc. -scriptversion=2005-05-14.22 +scriptversion=2010-02-06.18; # UTC # Franc,ois Pinard , 1995. # @@ -16,8 +17,7 @@ scriptversion=2005-05-14.22 # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -65,7 +65,11 @@ tempdir=elc.$$ # Cleanup the temporary directory on exit. trap 'ret=$?; rm -rf "$tempdir" && exit $ret' 0 -trap '(exit $?); exit' 1 2 13 15 +do_exit='(exit $ret); exit $ret' +trap "ret=129; $do_exit" 1 +trap "ret=130; $do_exit" 2 +trap "ret=141; $do_exit" 13 +trap "ret=143; $do_exit" 15 mkdir $tempdir cp "$@" $tempdir @@ -85,5 +89,6 @@ cp "$@" $tempdir # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: