X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Felisp-comp;h=ecc6b150ba0b76138617476e636147f1c0dba49c;hb=fe414f53d50b59d4f6bc3bf1a0121f01490be9bb;hp=d08f71feea4badd8eed39037b27647f7d1614077;hpb=a556453c32061f4723bd672695e02581fc662890;p=gnulib.git diff --git a/build-aux/elisp-comp b/build-aux/elisp-comp index d08f71fee..ecc6b150b 100755 --- a/build-aux/elisp-comp +++ b/build-aux/elisp-comp @@ -1,14 +1,14 @@ #!/bin/sh -# Copyright (C) 1995, 2000, 2003, 2004, 2005, 2009 Free Software +# Copyright (C) 1995, 2000, 2003, 2004, 2005, 2009, 2010 Free Software # Foundation, Inc. -scriptversion=2009-04-28.21; # UTC +scriptversion=2010-02-06.18; # UTC # Franc,ois Pinard , 1995. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) +# the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, @@ -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