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
3505e5b5
Commit
3505e5b5
authored
May 06, 2016
by
Andrew McNab
Browse files
Fix epilogue to use $2 instead of $USER
parent
e228fd01
Changes
2
Hide whitespace changes
Inline
Side-by-side
VERSION
View file @
3505e5b5
VERSION=00.1
1
VERSION=00.1
2
epilogue.user
View file @
3505e5b5
...
...
@@ -44,6 +44,6 @@ if [ -r /var/run/mjf ] ; then
.
/etc/sysconfig/mjf
fi
if
[
"
$1
"
!=
""
-a
-d
"
$mjf_tmp_dir
/mjf-
$
USER
/jobfeatures-
$1
"
]
;
then
rm
-Rf
"
$mjf_tmp_dir
/mjf-
$
USER
/jobfeatures-
$1
"
if
[
"
$1
"
!=
""
-a
"
$2
"
!=
""
-a
-d
"
$mjf_tmp_dir
/mjf-
$
2
/jobfeatures-
$1
"
]
;
then
rm
-Rf
"
$mjf_tmp_dir
/mjf-
$
2
/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