view lib-src/installexe.sh @ 2835:ae83ac9c29b3

[xemacs-hg @ 2005-06-28 12:02:39 by crestani] lib-src/ChangeLog addition: 2005-06-28 Marcus Crestani <crestani@xemacs.org> * .cvsignore: Add insert-data-in-exec. src/ChangeLog addition: 2005-06-28 Marcus Crestani <crestani@xemacs.org> * .cvsignore: Add dump-size, xemacs.def, xemacs.def.in.
author crestani
date Tue, 28 Jun 2005 12:02:42 +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