summaryrefslogtreecommitdiff
path: root/stepmake
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2002-05-17 09:43:47 +0000
committerJan Nieuwenhuizen <janneke@gnu.org>2002-05-17 09:43:47 +0000
commit06b944313b3468a70b9a4b1b3fe678b912ed408b (patch)
tree5e070fe9b9dc7254269a202ffb02995637030d45 /stepmake
parent2753d88a9734ff77d882d166d8dc5857b59dfeeb (diff)
Filter collapsed directory
constructs '//' from arguments.
Diffstat (limited to 'stepmake')
-rwxr-xr-xstepmake/bin/install-dot-exe.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/stepmake/bin/install-dot-exe.sh b/stepmake/bin/install-dot-exe.sh
index c4128c5ed8..1881b2de8b 100755
--- a/stepmake/bin/install-dot-exe.sh
+++ b/stepmake/bin/install-dot-exe.sh
@@ -1,20 +1,21 @@
#!/bin/sh
# install-dot-exe.sh -- add .exe for cygnus gnu-windows
-# hack for doos install; cygnus should support rpm
+# hack for doos install
realinstall=install
args=''
while [ $# -ne 0 ]
do
+ x=`echo $1 | sed 's@//@/@g'`
case $1 in
- -*) args="$args $1"
+ -*) args="$args $x"
;;
*) if [ -f $1.exe ]; then
- args="$args $1.exe"
+ args="$args $x.exe"
else
- args="$args $1"
+ args="$args $x"
fi
;;
esac