view lib-src/installexe.sh @ 1483:410360d3e34e

[xemacs-hg @ 2003-05-14 23:57:34 by youngs] 2003-05-15 Steve Youngs <youngs@xemacs.org> * package-get.el (package-get-package-index-file-location): New, so it is possible to specify a location for the index file. (package-get-locate-index-file): Use it. (package-get-maybe-save-index): Ditto. (package-get-user-index-filename): Remove.
author youngs
date Wed, 14 May 2003 23:57:35 +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