summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-05 15:52:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-05 15:52:41 (GMT)
commit4b86f4f418bf1db489076407ae570452e39b96b3 (patch)
tree722bc5bd955de6a90d8ed42d1b9dfe9577d72bb9 /unix
parentefb3134805b2c8c19804635b58a4c84e8de57a35 (diff)
downloadtcl-4b86f4f418bf1db489076407ae570452e39b96b3.zip
tcl-4b86f4f418bf1db489076407ae570452e39b96b3.tar.gz
tcl-4b86f4f418bf1db489076407ae570452e39b96b3.tar.bz2
[d3465c9188] restore install-sh to unmodified official version
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in8
-rwxr-xr-xunix/install-sh4
2 files changed, 4 insertions, 8 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index c1e6e83..39965cf 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -150,8 +150,8 @@ SHELL = @MAKEFILE_SHELL@
# around; better to use the install-sh script that comes with the
# distribution, which is slower but guaranteed to work.
-INSTALL_STRIP_PROGRAM = -s
-INSTALL_STRIP_LIBRARY = -R -x
+INSTALL_STRIP_PROGRAM = strip
+INSTALL_STRIP_LIBRARY = strip -x
INSTALL = $(SHELL) $(UNIX_DIR)/install-sh -c
INSTALL_PROGRAM = ${INSTALL}
@@ -891,8 +891,8 @@ install: $(INSTALL_TARGETS)
install-strip:
$(MAKE) $(INSTALL_TARGETS) \
- INSTALL_PROGRAM="$(INSTALL_PROGRAM) ${INSTALL_STRIP_PROGRAM}" \
- INSTALL_LIBRARY="$(INSTALL_LIBRARY) ${INSTALL_STRIP_LIBRARY}"
+ INSTALL_PROGRAM="STRIPPROG='${INSTALL_STRIP_PROGRAM}' $(INSTALL_PROGRAM) -s" \
+ INSTALL_LIBRARY="STRIPPROG='${INSTALL_STRIP_LIBRARY}' $(INSTALL_LIBRARY) -s"
install-binaries: binaries
@for i in "$(LIB_INSTALL_DIR)" "$(BIN_INSTALL_DIR)" \
diff --git a/unix/install-sh b/unix/install-sh
index 093e5ea..ec298b5 100755
--- a/unix/install-sh
+++ b/unix/install-sh
@@ -110,7 +110,6 @@ Options:
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-p pass -p to $cpprog.
- -R OPTION $stripprog installed files using OPTION.
-s $stripprog installed files.
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
-t DIRECTORY install into DIRECTORY.
@@ -155,9 +154,6 @@ while test $# -ne 0; do
-p) cpprog="$cpprog -p";;
- -R) stripcmd="$stripprog $2"
- shift;;
-
-s) stripcmd=$stripprog;;
-S) backupsuffix="$2"