view lib-src/installexe.sh @ 451:8ad70c5cd5d7

Added tag r21-2-40 for changeset 98528da0b7fc
author cvs
date Mon, 13 Aug 2007 11:39:21 +0200
parents 3ecd8885ac67
children 0784d089fdc9
line wrap: on
line source

#!sh

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