From 36b36faf556b121b15f665279b12a1d9eeeb5058 Mon Sep 17 00:00:00 2001 From: Evgeny Sinelnikov Date: Thu, 29 Nov 2012 15:52:43 +0400 Subject: [PATCH] lib/log.mk: fix hasher check --- lib/log.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.mk b/lib/log.mk index 43e9d7ba..b5ec7a4b 100644 --- a/lib/log.mk +++ b/lib/log.mk @@ -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