annotate lib-src/installexe.sh @ 280:7df0dd720c89
r21-0b38
Import from CVS: tag r21-0b38
author |
cvs |
date |
Mon, 13 Aug 2007 10:32:22 +0200 (2007-08-13) |
parents |
90d73dddcdc4 |
children |
|
rev |
line source |
276
|
1 #!sh
|
|
2
|
|
3 install_prog=$1
|
|
4 shift
|
|
5
|
|
6 tstr=""
|
|
7 while [ $# -gt 0 ]
|
|
8 do
|
278
|
9 if [ -f $1.exe ]
|
276
|
10 then
|
|
11 tstr="$tstr$1.exe $2.exe"
|
278
|
12 shift 2
|
276
|
13 else
|
|
14 tstr="$tstr$1 "
|
|
15 fi
|
|
16 shift
|
|
17 done
|
|
18 echo "$install_prog $tstr"
|
|
19 eval "$install_prog $tstr"
|
|
20 exit
|
|
21
|