Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
7ee2a43d
Commit
7ee2a43d
authored
Dec 12, 2011
by
Nikos Skalkotos
Browse files
Change the format of the "exclude task" properties
New format: EXCLUDE_TASK_<task_name>
parent
54c9b524
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-image-helper/common.sh
View file @
7ee2a43d
...
...
@@ -151,13 +151,12 @@ cleanup() {
fi
}
check_if_excluded
()
{
test
"
$PROGNAME
"
=
"snf-image-helper"
&&
return
0
eval
local
do_
exclude
=
\$
SNF_IMAGE_PROPERTY_EXCLUDE_
${
PROGNAME
:2
}
_TASK
if
[
-n
"
$
do_
exclude
"
]
;
then
local
exclude
=
SNF_IMAGE_PROPERTY_EXCLUDE_
TASK_
${
PROGNAME
:2
}
if
[
-n
"
$
{
!
exclude
}
"
]
;
then
warn
"Task
$PROGNAME
was excluded and will not run."
exit
0
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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