added pbs protection to keep scripts from running.
[feisty_meow.git] / scripts / examples / feisty_meow_startup / bashrc_user
index af92240803ac3205783cd2de3d848831bc84bb37..6c2b67f9ec1b78815a3465a64b9e42d03e9f0f10 100644 (file)
 #   export NAME='Doodmodeus Q. Nornberton'
 
 # don't bother running our stuff for a dumb terminal since any echo
-# can mess with an sftp connection, apparently.
-if [ ${TERM} != "dumb" ]; then
+# can mess with an sftp or scp connection, apparently.  similarly, we
+# don't want any automatic startup stuff if we are running under PBS.
+if [ "${TERM}" != "dumb" -a -z "$PBS_ENVIRONMENT" ]; then
   # sets up the feisty_meow scripts, using the default locations for all scripts.
-  source $HOME/feisty_meow/scripts/core/profile.sh
+  source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh
 fi