diff --git a/debian/changelog b/debian/changelog index eaec298..65af73b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ shim (15+1613861442.888f5b5-1) unstable; urgency=medium - fixup_git.patch - uname.patch - use_compare_mem_gcc9.patch + * New patches: + + Trivial change to remove bashisms in Make.coverity * Switch to using gcc-10 rather than gcc-9. Closes: #978521 -- Steve McIntyre <93sam@debian.org> Sun, 21 Feb 2021 13:50:16 +0100 diff --git a/debian/patches/fix-Make.coverity-bashisms.patch b/debian/patches/fix-Make.coverity-bashisms.patch new file mode 100644 index 0000000..c1cdeb9 --- /dev/null +++ b/debian/patches/fix-Make.coverity-bashisms.patch @@ -0,0 +1,26 @@ +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)" ; \ diff --git a/debian/patches/series b/debian/patches/series index e69de29..30f2571 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-Make.coverity-bashisms.patch