view lib-src/installexe.sh @ 716:d1ecd411af4c

[xemacs-hg @ 2001-12-26 23:57:55 by youngs] 2001-12-26 John Paul Wallington <jpw@shootybangbang.com> * keydefs.el (global-map): add a defn for C-x 5 1, previously undefined, to run delete-other-frames.
author youngs
date Wed, 26 Dec 2001 23:57:56 +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