annotate lib-src/installexe.sh @ 1908:aa20e7890f29
[xemacs-hg @ 2004-02-12 22:50:56 by viteno]
Update xemacs_extra_name.
author |
viteno |
date |
Thu, 12 Feb 2004 22:50:56 +0000 |
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
|