From: Sami Kerola Date: Wed, 26 Jan 2011 19:01:33 +0000 (+0100) Subject: build-sys: shell syntax fix in autogen.sh X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aada54e028b73ddbea96039375b1d1768fcf3496;p=util-linux build-sys: shell syntax fix in autogen.sh Use of == as synonym of single = sign backfires on systems where /bin/sh is dash, like with Ubuntu. Signed-off-by: Sami Kerola --- diff --git a/autogen.sh b/autogen.sh index d84acb12..ae9d8c13 100755 --- a/autogen.sh +++ b/autogen.sh @@ -55,7 +55,7 @@ test -f mount/mount.c || { } ltver=$(libtoolize --version | awk '/^libtoolize/ { print $4 }') -test ${ltver##2.} == "$ltver" && { +test ${ltver##2.} = "$ltver" && { echo "You must have libtool version >= 2.x.x, but you have $ltver." DIE=1 }