view lib-src/installexe.sh @ 782:616e133a0ce6

[xemacs-hg @ 2002-03-18 22:22:15 by adrian] [ACR21.4] [PATCH] xemacs-21.5: Fix typo in prompt for customize-save-variable <vgbtblbl.fsf@mailto.t-online.de>
author adrian
date Mon, 18 Mar 2002 22:22:15 +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