summaryrefslogtreecommitdiff
path: root/build-aux/install-sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-07 06:46:52 -0800
committerKarl Berry <karl@freefriends.org>2010-02-07 06:46:52 -0800
commitc8acf2dc429c96793cbb3fca726c45b6ad309944 (patch)
tree2ce0c999399490df3b04137141f9d6c2d2994929 /build-aux/install-sh
parent11fbc57405a118e6ec9a3ebc19bbf5ececdae4d6 (diff)
downloadgnulib-c8acf2dc429c96793cbb3fca726c45b6ad309944.tar.gz
-mautoupdate
Diffstat (limited to 'build-aux/install-sh')
-rwxr-xr-xbuild-aux/install-sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/build-aux/install-sh b/build-aux/install-sh
index 6781b987bd..3f83ce9b55 100755
--- a/build-aux/install-sh
+++ b/build-aux/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2010-02-06.18; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -200,7 +200,11 @@ if test $# -eq 0; then
fi
if test -z "$dir_arg"; then
- 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
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.