From aada54e028b73ddbea96039375b1d1768fcf3496 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 26 Jan 2011 20:01:33 +0100 Subject: [PATCH] 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 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.5