#! /bin/csh -f
#
# Findit.sh --
#
#		The purpose of this shell script is for checking whether
#		a given picture file exists on the render engine.
#
#		if the file exists information regarding this file is
#		written back to the host machine into the file _lout.
#
#		parameters: $1: rendercodelocation/picturefile.1
#					$2: hostmachinedirectorylocation
#

set rendercodelocation = $1:h
set picturefile = $rendercodelocation/pix/$1:t

ls -s $picturefile >& $rendercodelocation/_lout

rcp $rendercodelocation/_lout $2

rm $rendercodelocation/_lout
exit 0
##############################################################################
#                                                                            #
#            Copyright (C) 1985, 1986, 1987, Alias Research, Inc.            #
#                                                                            #
#    These coded instructions,  statements and  computer programs contain    #
#    unpublished information proprietary to Alias Research, Inc.  and are    #
#    protected by the Canadian and US Federal copyright law. They may not    #
#    be disclosed to third parties  or copied  or duplicated, in whole or    #
#    in part,  without the prior written consent of Alias Research,  Inc.    #
#                                                                            #
# Unpublished-rights reserved under the Copyright Laws of the United States. #
#                                                                            #
##############################################################################
