Index: third_party/sqlite/sqlite-src-3080704/autoconf/tea/tclconfig/install-sh |
diff --git a/third_party/libxml/src/install-sh b/third_party/sqlite/sqlite-src-3080704/autoconf/tea/tclconfig/install-sh |
old mode 100755 |
new mode 100644 |
similarity index 98% |
copy from third_party/libxml/src/install-sh |
copy to third_party/sqlite/sqlite-src-3080704/autoconf/tea/tclconfig/install-sh |
index 6781b987bdbcbc23efe6bbe1654a1e3637b9af07..7c34c3f926031734a8e1a4234a7ab131bdefda3e |
--- a/third_party/libxml/src/install-sh |
+++ b/third_party/sqlite/sqlite-src-3080704/autoconf/tea/tclconfig/install-sh |
@@ -1,7 +1,7 @@ |
#!/bin/sh |
# install - install a program, script, or datafile |
-scriptversion=2009-04-28.21; # UTC |
+scriptversion=2011-04-20.01; # UTC |
# This originates from X11R5 (mit/util/scripts/install.sh), which was |
# later released in X11R6 (xc/config/util/install.sh) with the |
@@ -120,6 +120,7 @@ Options: |
-m MODE $chmodprog installed files to MODE. |
-o USER $chownprog installed files to USER. |
-s $stripprog installed files. |
+ -S $stripprog installed files. |
-t DIRECTORY install into DIRECTORY. |
-T report an error if DSTFILE is a directory. |
@@ -155,6 +156,9 @@ while test $# -ne 0; do |
-s) stripcmd=$stripprog;; |
+ -S) stripcmd="$stripprog $2" |
+ shift;; |
+ |
-t) dst_arg=$2 |
shift;; |
@@ -200,7 +204,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. |