bug-gnulib
[Top][All Lists]
Advanced

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

gnulib-tool


From: Ralf Wildenhues
Subject: gnulib-tool
Date: Wed, 17 Oct 2007 21:31:07 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

While experimenting with a module named foo-testsuite, I noted this
glitch in gnulib-tool, and applied the obvious fix.

Cheers,
Ralf

2007-10-17  Ralf Wildenhues  <address@hidden>

        * gnulib-tool (func_get_dependencies): Fix sed script to
        match only tests.

diff --git a/gnulib-tool b/gnulib-tool
index 1003f4c..09059fc 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -1212,7 +1212,7 @@ func_get_filelist ()
 func_get_dependencies ()
 {
   # ${module}-tests always implicitly depends on ${module}.
-  echo "$1" | sed -n -e 's/-tests//p'
+  echo "$1" | sed -n -e 's/-tests$//p'
   # Then the explicit dependencies listed in the module description.
   func_lookup_file "modules/$1"
   sed -n -e "/^Depends-on$sed_extract_prog" < "$lookedup_file"




reply via email to

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