Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
scripts
Commits
8be5f3ee
Commit
8be5f3ee
authored
May 07, 2020
by
Johannes Meyer
Browse files
icinga-build-deb|rpm-test: Fix positional argument detection
parent
c1846554
Changes
2
Hide whitespace changes
Inline
Side-by-side
icinga-build-deb-test
View file @
8be5f3ee
...
...
@@ -20,7 +20,7 @@ fi
)
test_script
=
if
[
-n
"
$@
"
]
;
then
if
[
"$#"
-gt
0
]
;
then
test_script
=
"
$@
"
elif
[
-f
"
${
ICINGA_BUILD_DEB_FLAVOR
}
/debian/icinga-build-test"
]
;
then
test_script
=
"
${
ICINGA_BUILD_DEB_FLAVOR
}
/debian/icinga-build-test"
...
...
icinga-build-rpm-test
View file @
8be5f3ee
...
...
@@ -57,7 +57,7 @@ REPO
esac
test_script
=
if
[
-n
"
$@
"
]
;
then
if
[
"$#"
-gt
0
]
;
then
test_script
=
"
$@
"
elif
[
-f
"icinga-build-test"
]
;
then
test_script
=
"./icinga-build-test"
...
...
Write
Preview
Supports
Markdown
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