view lib-src/installexe.sh @ 2658:a48989ca6db3

[xemacs-hg @ 2005-03-13 09:20:58 by crestani] Fix native Windows build if DEBUG_XEMACS is not defined. * alloc.c (MALLOC_BEGIN): Remove unused parameter. * intl-win32.c (unicode_multibyte_convert_size): Move function call out of assert.
author crestani
date Sun, 13 Mar 2005 09:21:04 +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