bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] gnulib-tool --local-dir


From: Charles Wilson
Subject: [patch] gnulib-tool --local-dir
Date: Wed, 18 Oct 2006 21:27:05 -0400
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

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

[Prev in Thread] Current Thread [Next in Thread]