lib/log.mk: fix hasher check

This commit is contained in:
Evgeny Sinelnikov 2012-11-29 15:52:43 +04:00 committed by Michael Shigorin
parent 8d8b23e685
commit 36b36faf55

View File

@ -10,7 +10,7 @@ endif
HSH_VER_OPTIMAL = 1.3.22
HSH_VERSION := $(shell hsh -V | sed -n 's/^.* version \([0-9.]\+\).*$$/\1/p')
ifeq (-,$(shell rpmvercmp $(HSH_VERSION) $(HSH_VER_OPTIMAL) | tr -d [0-9]))
ifeq (-,$(shell rpmvercmp $(HSH_VERSION) $(HSH_VER_OPTIMAL) | tr -d '[0-9]'))
$(info warning: hasher-$(HSH_VERSION) is suboptimal, consider upgrading)
endif