Mercurial > hg > xemacs-beta
comparison lib-src/installexe.sh @ 276:6330739388db r21-0b36
Import from CVS: tag r21-0b36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:30:37 +0200 |
parents | |
children | 90d73dddcdc4 |
comparison
equal
deleted
inserted
replaced
275:a68ae4439f57 | 276:6330739388db |
---|---|
1 #!sh | |
2 | |
3 install_prog=$1 | |
4 shift | |
5 | |
6 tstr="" | |
7 while [ $# -gt 0 ] | |
8 do | |
9 if [ -e $1.exe ] | |
10 then | |
11 tstr="$tstr$1.exe $2.exe" | |
12 shift | |
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 |