(U-00020643): Apply new conventions for glyph granularity.
[chise/xemacs-chise.git-] / lib-src / installexe.sh
1 #!bash
2
3 install_prog=$1
4 shift
5
6 tstr=""
7
8 while [[ $# -gt 0 ]]
9 do
10   if [[ -f $1.exe ]]
11   then
12     if [[ "$2" == *.exe ]]
13     then
14       tstr="$tstr$1 $2"
15     else
16       tstr="$tstr$1.exe $2.exe"
17     fi
18     shift 2
19   else
20     tstr="$tstr$1 "
21   fi
22   shift
23 done
24 echo "$install_prog $tstr"
25 eval "$install_prog $tstr"
26 exit
27