Mercurial > hg > xemacs-beta
view lib-src/installexe.sh @ 4763:1de041b8edf7
Add copyright and license information to files authored by Jan Vroonhof.
See <25583f1f0911131309k3ffe3a3cjaf76b363a0d9fd24@mail.gmail.com> in
xemacs-beta for Jan's permission to do so. See xemacs-patches message
<870180fe0912031254x5a120063p104988fe24d5816@mail.gmail.com> for more
information.
author | Jerry James <james@xemacs.org> |
---|---|
date | Thu, 03 Dec 2009 13:55:59 -0700 |
parents | 3ee1c468b215 |
children | 8a653fbe5c27 |
line wrap: on
line source
#!bash install_prog=$1 shift tstr="" while [[ $# -gt 0 ]] do if [[ -f $1.exe ]] then if [[ "$2" == *.exe ]] then tstr="$tstr$1 $2" else tstr="$tstr$1.exe $2.exe" fi shift 2 else tstr="$tstr$1 " fi shift done echo "$install_prog $tstr" eval "$install_prog $tstr" exit