Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib-src/installexe.sh Mon Aug 13 10:30:37 2007 +0200 @@ -0,0 +1,21 @@ +#!sh + +install_prog=$1 +shift + +tstr="" +while [ $# -gt 0 ] +do + if [ -e $1.exe ] + then + tstr="$tstr$1.exe $2.exe" + shift + else + tstr="$tstr$1 " + fi + shift +done +echo "$install_prog $tstr" +eval "$install_prog $tstr" +exit +