annotate lib-src/installexe.sh @ 1095:0d33547d9ed3
[xemacs-hg @ 2002-11-11 15:39:03 by stephent]
testing improvements <87adkgyv5v.fsf@tleepslib.sk.tsukuba.ac.jp>
author |
stephent |
date |
Mon, 11 Nov 2002 15:39:07 +0000 (2002-11-11) |
parents |
0784d089fdc9 |
children |
3ee1c468b215 |
rev |
line source |
462
|
1 #!bash
|
428
|
2
|
|
3 install_prog=$1
|
|
4 shift
|
|
5
|
|
6 tstr=""
|
462
|
7
|
428
|
8 while [ $# -gt 0 ]
|
|
9 do
|
|
10 if [ -f $1.exe ]
|
|
11 then
|
|
12 tstr="$tstr$1.exe $2.exe"
|
|
13 shift 2
|
|
14 else
|
|
15 tstr="$tstr$1 "
|
|
16 fi
|
|
17 shift
|
|
18 done
|
|
19 echo "$install_prog $tstr"
|
|
20 eval "$install_prog $tstr"
|
|
21 exit
|
|
22
|