From 300311c1b24dc87a4a036acab2e285573a819a40 Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Tue, 6 Dec 2011 22:47:22 +0800 Subject: [PATCH] Tweaks --- libs/ldns/install-sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libs/ldns/install-sh b/libs/ldns/install-sh index 3f83ce9b55..6781b987bd 100755 --- a/libs/ldns/install-sh +++ b/libs/ldns/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2010-02-06.18; # UTC +scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -200,11 +200,7 @@ if test $# -eq 0; then fi if test -z "$dir_arg"; then - 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 + trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps.