]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/bin/install-dot-exe.sh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / stepmake / bin / install-dot-exe.sh
1 #!/bin/sh
2 # install-dot-exe.sh  -- add .exe for cygnus gnu-windows
3 # hack for doos install
4
5 realinstall=install
6
7 args=''
8 while [ $# -ne 0 ] 
9 do
10     x=`echo $1 | sed 's@//@/@g'`
11     case $1 in
12         -*) args="$args $x"
13             ;;
14
15          *) if [ -f $1.exe ]; then
16                 args="$args $x.exe"
17             else
18                 args="$args $x"
19             fi
20             ;;
21     esac
22     shift
23 done
24
25 $realinstall $args