annotate lib-src/installexe.sh @ 828:4ead1e0842f0
[xemacs-hg @ 2002-05-07 15:30:14 by stephent]
error check warning <20020423105456.A1592@nemesis.ncsl.nist.gov>
author |
stephent |
date |
Tue, 07 May 2002 15:30:18 +0000 (2002-05-07) |
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
|