don't use curly braces, I don't trust them
authorFabian Groffen <grobian@gentoo.org>
Tue, 11 Nov 2008 19:08:19 +0000 (19:08 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 11 Nov 2008 19:08:19 +0000 (19:08 -0000)
svn path=/main/branches/prefix/; revision=11857

acinclude.m4

index e864205a4c2866d688f5fa08fa613a864a64c0fb..d305e3a5212ca7c9b22f4085d9221df5a1f2c428 100644 (file)
@@ -45,7 +45,10 @@ AC_DEFUN([GENTOO_PATH_XCU_ID],
   dnl does it support all the bells and whistles we need?
   AC_MSG_CHECKING([whether $XCU_ID is good enough])
   for a in '' '-G' '-Gn' '-g' '-gn' '-gr' '-gnr' '-u' '-un' '-ur' '-unr' ; do
-    "$XCU_ID" $a >/dev/null 2>&1 || { XCU_ID=no ; break ; }
+    if ! "$XCU_ID" $a >/dev/null 2>&1 ; then
+      XCU_ID=no
+      break
+    fi
   done
   if test "$XCU_ID" != "no" ; then
     AC_MSG_RESULT([yes])