summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2021-02-21 15:40:07 +0000
committerPeter Jones <pjones@redhat.com>2021-02-22 11:20:31 -0500
commit2b829d22cc26d032d8e778080f3294e99567cfc5 (patch)
tree73cdd31981b913f7d6988dec455e9a6ee2064d58
parent888f5b544b7cce3cdae8074aa617b1d4add271a1 (diff)
downloadefi-boot-shim-2b829d22cc26d032d8e778080f3294e99567cfc5.tar.gz
efi-boot-shim-2b829d22cc26d032d8e778080f3294e99567cfc5.zip
Fix bashisms in Make.coverity
Not everybody uses bash as /bin/sh, and the scripting here is safe just using single brackets. Signed-off-by: Steve McIntyre <93sam@debian.org>
-rw-r--r--Make.coverity8
1 files changed, 4 insertions, 4 deletions
diff --git a/Make.coverity b/Make.coverity
index 996e826e..a897aa0a 100644
--- a/Make.coverity
+++ b/Make.coverity
@@ -12,7 +12,7 @@ cov-int-all : clean
cov-clean :
@rm -vf $(NAME)-coverity-*.tar.*
- @if [[ -d cov-int ]]; then rm -rf cov-int && echo "removed 'cov-int'"; fi
+ @if [ -d cov-int ]; then rm -rf cov-int && echo "removed 'cov-int'"; fi
cov-file : | $(COV_FILE)
@@ -20,9 +20,9 @@ $(COV_FILE) : | cov-int
tar caf $@ cov-int
cov-upload :
- @if [[ -n "$(COV_URL)" ]] && \
- [[ -n "$(COV_TOKEN)" ]] && \
- [[ -n "$(COV_EMAIL)" ]] ; \
+ @if [ -n "$(COV_URL)" ] && \
+ [ -n "$(COV_TOKEN)" ] && \
+ [ -n "$(COV_EMAIL)" ] ; \
then \
echo curl --form token=$(COV_TOKEN) --form email="$(COV_EMAIL)" --form file=@"$(COV_FILE)" --form version=$(VERSION).1 --form description="$(COMMIT_ID)" "$(COV_URL)" ; \
curl --form token=$(COV_TOKEN) --form email="$(COV_EMAIL)" --form file=@"$(COV_FILE)" --form version=$(VERSION).1 --form description="$(COMMIT_ID)" "$(COV_URL)" ; \