view lib-src/installexe.sh @ 1099:85cb05c9227e

[xemacs-hg @ 2002-11-11 16:56:15 by stephent] move entries to etc/ChangeLog bold-italic resource <877kfk19id.fsf@tleepslib.sk.tsukuba.ac.jp> bold-italic resource <87bs4w19tt.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 11 Nov 2002 16:56:19 +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