The test was inverted.

Signed-off-by: Benjamin Cama <benjamin.c...@telecom-bretagne.eu>
---
 gnulib-tool |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib-tool b/gnulib-tool
index 669931c..55fbee3 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -2954,7 +2954,7 @@ ba
     fi
   done
   # Add the dummy module, to make sure the library will be non-empty.
-  if test -z "$have_lib_SOURCES"; then
+  if test -n "$have_lib_SOURCES"; then
     if func_acceptable "dummy"; then
       func_append modules " dummy"
     fi
-- 
1.7.2.5


Reply via email to