From ac17ccf73ad0cb6be74845ca05a1c18b2c5f7416 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 12 Oct 2012 21:40:07 +0000 Subject: [PATCH] configure: work around bug in ash shell The ash 'test' builtin misbehaves if the first operand of a binary operator looks like a unary operator. Signed-off-by: Mans Rullgard --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 26cd7ea..22becbf 100755 --- a/configure +++ b/configure @@ -593,7 +593,7 @@ print_config(){ } print_enabled(){ - test "$1" = -n && end=" " && shift || end="\n" + test x"$1" = x-n && end=" " && shift || end="\n" suf=$1 shift for v; do -- 2.7.4