#!/bin/sh

our_path="`echo $PATH | tr ':' ' '`"
our_shell="/bin/sh"

for x in ksh bash ; do
  for y in $our_path ; do
    if [ -f "$y/$x" ]; then
      our_shell="$y/$x"
    fi
  done
done

export our_shell
SETUP_CC="$CC"
export SETUP_CC
$our_shell ./SETUPDir/Scripts/SETUP "$@"
