#!/bin/csh -f

# (C) Copyright International Business Machines Corporation 23 January 
# 1990.  All Rights Reserved. 
#  
# See the file USERAGREEMENT distributed with this software for full 
# terms and conditions of use. 

if ( $?HROOTDIR{} ) then
  set hroot=$HROOTDIR
else
  set hroot=~hermes
endif
if ( $?HARCH{} ) then
  set arch=$HARCH
else
  set arch='arch'
endif
if (-e $hroot{}/mbin/$arch{}/hermes) then
  exec $hroot{}/mbin/$arch{}/hermes $*
else if (-e $hroot{}/mbin/hermes) then
  exec $hroot{}/mbin/hermes $*
else
  echo "Unable to locate Hermes parser binary"
  exit 1
endif

