Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
machinejobfeatures
mjf-scripts
Commits
80d1646d
Commit
80d1646d
authored
Feb 28, 2016
by
Andrew McNab
Browse files
No $HOME in epilogue.user!
parent
40cda756
Changes
2
Hide whitespace changes
Inline
Side-by-side
VERSION
View file @
80d1646d
VERSION=00.0
0
VERSION=00.0
1
epilogue.user
View file @
80d1646d
#!/bin/sh
#!/bin/
ba
sh
#
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment