
echo "Setting PERL_DIR in  trampoline executable..."
DEST_DIR=`echo $PERL_DIR | sed -e 's;/afs/fnal.gov;/afs/.fnal.gov;'`

PATH=${PERL_DIR}/bin:$PATH; export PATH

fixtrampoline ${PERL_DIR}/bin/trampoline ${DEST_DIR}/bin/setup_and_run_perl

echo "Copy or symlink the ${DEST_DIR}/bin/setup_and_run_perl"
echo "executable somewhere as 'perl' to run perl without setting it up"
