view lib-src/installexe.sh @ 1937:cac9e42fd31d

[xemacs-hg @ 2004-03-04 21:06:58 by youngs] 2004-02-23 Steve Youngs <sryoungs@bigpond.net.au> * package-get.el (package-get-update-base-from-buffer): Force binary coding system for verifying GnuPG signature in the package-index file.
author youngs
date Thu, 04 Mar 2004 21:06:59 +0000
parents 0784d089fdc9
children 3ee1c468b215
line wrap: on
line source

#!bash

install_prog=$1
shift

tstr=""

while [ $# -gt 0 ]
do
  if [ -f $1.exe ]
  then
    tstr="$tstr$1.exe $2.exe"
    shift 2
  else
    tstr="$tstr$1 "
  fi
  shift
done
echo "$install_prog $tstr"
eval "$install_prog $tstr"
exit