view lib-src/installexe.sh @ 2630:1ea43ec83f12

[xemacs-hg @ 2005-03-02 21:37:54 by adrian] xemacs-21.5-clean: Re: Patch my ego -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2005-02-28 Simon Josefsson <jas@extundo.com> * about.el (xemacs-hackers): Add jas. (about-other-current-hackers): Likewise. (about-url-alist): Add URL for jas. (about-personal-info): Document jas. (about-hacker-contribution): Describe jas contributions.
author adrian
date Wed, 02 Mar 2005 21:37:55 +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