Commit 80d1646d authored by Andrew McNab's avatar Andrew McNab
Browse files

No $HOME in epilogue.user!

parent 40cda756
VERSION=00.00
VERSION=00.01
#!/bin/sh
#!/bin/bash
#
# epilogue.user script for Machine/Job Features on Torque/PBS
#
......@@ -34,6 +34,6 @@
# Remove $JOBFEATURES directory for this job where the directory
# is at $HOME/jobfeatures-$PBS_JOBID ($1 is $PBS_JOBID)
if [ "$1" != "" -a -d "$HOME/jobfeatures-$1" ] ; then
rm -Rf "$HOME/jobfeatures-$1"
if [ "$1" != "" -a -d ~/jobfeatures-$1 ] ; then
rm -Rf ~/jobfeatures-$1
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment