view lib-src/installexe.sh @ 1126:bcb5d65d0d94

[xemacs-hg @ 2002-11-28 12:34:43 by michaels] 2002-11-28 Mike Sperber <mike@xemacs.org> * dialog.el (make-dialog-box): `set-frame-pixel-size' -> `set-frame-displayable-pixel-size,' following the `frame-pixel-xxx' reorganization in src/frame.c.
author michaels
date Thu, 28 Nov 2002 12:34:44 +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