summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2021-09-20 23:04:07 (GMT)
committerGitHub <noreply@github.com>2021-09-20 23:04:07 (GMT)
commite2009622dd19556d31de498b68d8e555b7261251 (patch)
tree7ea72c7189a712e8713937a2adc467741f1e2cb2 /tests
parent976170316e1c79040db3b109cf0347c1c1252fdc (diff)
parent596c7472116a9204c5a32cc3d9e588fa8a4b6feb (diff)
downloadlz4-e2009622dd19556d31de498b68d8e555b7261251.zip
lz4-e2009622dd19556d31de498b68d8e555b7261251.tar.gz
lz4-e2009622dd19556d31de498b68d8e555b7261251.tar.bz2
Merge pull request #1022 from lz4/uname
make UNAME externally definable
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 83e3fcb..00f6f3b 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -145,14 +145,14 @@ checkTag: checkTag.c $(LZ4DIR)/lz4.h
ifeq ($(POSIX_ENV),Yes)
MD5:=md5sum
-ifneq (,$(filter $(shell uname), Darwin ))
+ifneq (,$(filter $(shell $(UNAME)), Darwin ))
MD5:=md5 -r
endif
# note : we should probably settle on a single compare utility
CMP:=cmp
DIFF:=diff
-ifneq (,$(filter $(shell uname),SunOS))
+ifneq (,$(filter $(shell $(UNAME)),SunOS))
DIFF:=gdiff
endif