summaryrefslogtreecommitdiff
path: root/install-sh
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-12 10:44:57 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-12 10:44:57 +0000
commited37269de624db80eff9b0f51c56f7799247e669 (patch)
tree1bd7c90031c4df6ff7aa3ecfb95396422f1599bf /install-sh
parent22c8984a17df454f9fc4257d51586addb87de721 (diff)
downloadgcc-ed37269de624db80eff9b0f51c56f7799247e669.tar.gz
Final changes from devo<->egcs merge. Ugh, a year of configury/Makefile
hacking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'install-sh')
-rwxr-xr-xinstall-sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/install-sh b/install-sh
index 853408cec35..e9de23842dc 100755
--- a/install-sh
+++ b/install-sh
@@ -53,9 +53,6 @@ mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
-# CYGNUS LOCAL: exeext variable
-exeext=""
-# END CYGNUS LOCAL
while [ x"$1" != x ]; do
case $1 in
@@ -94,16 +91,6 @@ while [ x"$1" != x ]; do
shift
continue;;
- # CYGNUS LOCAL: -x option
- -x=*) exeext=`echo $1 | sed 's/-x=//'`
- shift
- continue;;
-
- -x) exeext=".exe"
- shift
- continue;;
- # END CYGNUS LOCAL
-
*) if [ x"$src" = x ]
then
src=$1
@@ -137,22 +124,6 @@ if [ x"$dir_arg" != x ]; then
fi
else
-# CYGNUS LOCAL noer
-# Win32-based gcc automatically appends .exe to produced executables,
-# whether asked for or not. This breaks installs. The following
-# changes the value of $src to $src.exe if $src is missing
-
- if [ -f $src ]
- then
- true
- elif [ -f $src.exe ]
- then
- echo "install: $src does not exist, trying with .exe appended"
- src="$src".exe
- fi
-
-# end CYGNUS LOCAL noer
-
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
@@ -182,13 +153,6 @@ else
else
true
fi
-
- # CYGNUS LOCAL: Use exeext
- case "`basename $dst`" in
- *.*) ;;
- *) dst="$dst$exeext" ;;
- esac
- # END CYGNUS LOCAL
fi
## this sed command emulates the dirname command