#!/bin/sh
#
# This script is a part of FreeUSP - the UNIX Seismic Processing system.
#
# this script is part of the media-changer software, which is 
# used for automated tape robot operation. (ie. DLT, 8mm, etc.)
# Please contact Joe Wade for more info or support.
#        -> Unauthorized modifications are NOT allowed. <-

PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH}

APP_PATH=`dirname $0` ; test "${APP_PATH}" = "." && APP_PATH=`pwd`
APP_PATH=`echo ${APP_PATH} | /bin/sed 's/[/]tmp_mnt//' `

PATH=${PATH}:${APP_PATH}

export PATH

DIST_PRODUCT="chd"

. usp-set-path 

exec ${APP} ${1:+"$@"}
