view lib-src/installexe.sh @ 401:e0a2a2be14bf

Added tag r21-2-30 for changeset a86b2b5e0111
author cvs
date Mon, 13 Aug 2007 11:14:35 +0200
parents 90d73dddcdc4
children
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