Remove pointless error message.
authorBruno Haible <bruno@clisp.org>
Thu, 19 Jul 2007 20:06:45 +0000 (20:06 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 19 Jul 2007 20:06:45 +0000 (20:06 +0000)
ChangeLog
gnulib-tool

index 5f3c9a7..18efaa1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-19  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Don't abort if pobase or po_domain is
+       empty.
+       Reported by Eric Blake.
+
 2007-07-18  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool: New options --po-base, --po-domain.
index 32f81d7..250b2da 100755 (executable)
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2007-07-18 23:50:58 $'
+cvsdatestamp='$Date: 2007-07-19 20:06:45 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 nl='
@@ -2031,9 +2031,6 @@ func_import ()
   # The pobase defaults to the cached one.
   if test -z "$pobase"; then
     pobase="$cached_pobase"
-    if test -z "$pobase"; then
-      func_fatal_error "missing --po-base option"
-    fi
   fi
   # The docbase defaults to the cached one.
   if test -z "$docbase"; then
@@ -2086,9 +2083,6 @@ func_import ()
   # The po_domain defaults to the cached one.
   if test -z "$po_domain"; then
     po_domain="$cached_po_domain"
-    if test -z "$po_domain"; then
-      func_fatal_error "missing --po-domain option"
-    fi
   fi
 
   # Canonicalize the list of specified modules.