]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
simplified checks
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Nov 2013 07:50:17 +0000 (08:50 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Nov 2013 07:50:17 +0000 (08:50 +0100)
configure.ac

index 7b4973fb00bc29100e8c3678d270526b09e4d21c..494df319140db6d04e1ce266f3cdc55ce6668f4e 100644 (file)
@@ -345,11 +345,11 @@ fi
 AM_CONDITIONAL(ENABLE_TROUSERS, test "$with_tpm" != "no")
 
 LIBOPTS_CHECK([src/libopts])
-if [ test "$NEED_LIBOPTS_DIR" != "true" ];then
+if test "$NEED_LIBOPTS_DIR" != "true";then
        dnl delete libopts-generated files
        for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do
                nam=`echo $i|sed 's/.bak//g'`
-               if [ test -f $i ];then
+               if test -f $i;then
                        cp -f $i $nam
                fi
        done