Doesn't seem to work properly without the following (obvious?) patch.

--
Chuck

2006-10-18  Charles Wilson  <cygwin at cwilson dot fastmail dot fm>

        * gnulib-tool: trimming $local_gnulib_dir variable shouldn't
        clobber $sourcebase.
Index: gnulib-tool
===================================================================
RCS file: /sources/gnulib/gnulib/gnulib-tool,v
retrieving revision 1.180
diff -u -r1.180 gnulib-tool
--- gnulib-tool 13 Oct 2006 12:40:22 -0000      1.180
+++ gnulib-tool 19 Oct 2006 01:13:40 -0000
@@ -678,7 +678,7 @@
   # m4base (to avoid an error in func_import) and optional for the others.
   sed_trimtrailingslashes='s,\([^/]\)//*$,\1,'
   case "$local_gnulib_dir" in
-    */ ) sourcebase=`echo "$local_gnulib_dir" | sed -e 
"$sed_trimtrailingslashes"` ;;
+    */ ) local_gnulib_dir=`echo "$local_gnulib_dir" | sed -e 
"$sed_trimtrailingslashes"` ;;
   esac
   case "$sourcebase" in
     */ ) sourcebase=`echo "$sourcebase" | sed -e "$sed_trimtrailingslashes"` ;;

Reply via email to