diff --git a/Makefile b/Makefile index 6148027f5..a821b9f39 100644 --- a/Makefile +++ b/Makefile @@ -397,12 +397,12 @@ check-licenses: install-wwhrd wwhrd check -f .wwhrd.yml copy-docs: - > ${DST} - @if [[ ${ORDER} > 0 ]]; then \ + echo '' > ${DST} + @if [ ${ORDER} -ne 0 ]; then \ echo "---\nsort: ${ORDER}\n---\n" > ${DST}; \ fi cat ${SRC} >> ${DST} - sed -i '' 's/