libkcapi/libkcapi-1.0.3-test_invocation_fix_bash_coding_error.patch
2018-01-16 18:47:27 +01:00

24 lines
831 B
Diff

From bc7c26efe5ab5c7644fac421b2fb6b1b687c4d0e Mon Sep 17 00:00:00 2001
From: Stephan Mueller <smueller@chronox.de>
Date: Sat, 13 Jan 2018 23:33:24 +0100
Subject: [PATCH] fix bash coding error
Signed-off-by: Stephan Mueller <smueller@chronox.de>
---
test/test-invocation.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test-invocation.sh b/test/test-invocation.sh
index 1da861b..d381330 100755
--- a/test/test-invocation.sh
+++ b/test/test-invocation.sh
@@ -125,7 +125,7 @@ make distclean > /dev/null 2>&1
# if we are on 64 bit system, test 32 bit alternative mode,
# except is has been disabled explicitly.
-if [ $(uname -m | grep -q "x86_64") && -z "$NO_32BIT_TEST" ]
+if $(uname -m | grep -q "x86_64") && [ -z "$NO_32BIT_TEST" ]
then
LDFLAGS=-m32 CFLAGS=-m32 ./configure $COMPILE_OPTS
make