Makefile.ffmpeg,hdhomerun: try to fix the test condition

This commit is contained in:
Jaroslav Kysela 2014-10-15 12:33:04 +02:00
parent bce2c52e63
commit f70e601c7a
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ define DOWNLOAD
@{ \
sum=$$(sha1sum $(2) | cut -d ' ' -f 1); \
printf "SHA1SUM test '$${sum}' == '$(3)': "; \
test "y$${sum}" == "y$(3)"; \
test "y$${sum}" = "y$(3)"; \
}
@echo "OK"
endef

View file

@ -32,7 +32,7 @@ define DOWNLOAD
@{ \
sum=$$(sha1sum $(2) | cut -d ' ' -f 1); \
printf "SHA1SUM test '$${sum}' == '$(3)': "; \
test "y$${sum}" == "y$(3)"; \
test "y$${sum}" = "y$(3)"; \
}
@echo "OK"
endef