#!/bin/sh
########################################################################
#                 copyright 2001, Amoco Production Company             #
#                             All Rights Reserved                      #
#                     an affiliate of BP America Inc.                  #
########################################################################
#
# This script is a part of FreeUSP - the UNIX Seismic Processing system.
#

if ( test $# -eq 0 )
then
 echo "The use of usp-which reveals which USP binary within the"
 echo "/apps/dist structure will be executed for a particular program."
 echo " "
 echo "Usage: usp-which usp-program-name"
 echo " "
fi

APP=$1

. usp-set-path

echo ${APP}
