diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | stepmake/bin/install-dot-exe.sh | 9 |
2 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2002-05-17 Jan Nieuwenhuizen <janneke@gnu.org> + + * stepmake/bin/install-dot-exe.sh: Filter collapsed directory + constructs '//' from arguments. + 2002-05-17 Han-Wen <hanwen@cs.uu.nl> * scm/music-functions.scm (check-start-chords): function to check 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 |