Author: adam-guest
Date: 2008-02-19 06:51:14 +0000 (Tue, 19 Feb 2008)
New Revision: 1027

Modified:
   trunk/debian/changelog
   trunk/scripts/checkbashisms.pl
   trunk/scripts/wnpp-alert.1
Log:
Improve the "source with arguments" check, based on suggestion from Russ Allbery

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-02-17 14:51:29 UTC (rev 1026)
+++ trunk/debian/changelog      2008-02-19 06:51:14 UTC (rev 1027)
@@ -19,6 +19,8 @@
   * debcommit: Use "git diff" instead of "git-diff" (Closes: #466158)
   * dget: Correctly handle the processing of a file that we've already
     retrieved (Closes: #445546)
+  * wnpp-alert: Note in the manpage that the results are source package
+    based (Closes: #466456)
 
   [ Christoph Berg ]
   * dget:

Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl      2008-02-17 14:51:29 UTC (rev 1026)
+++ trunk/scripts/checkbashisms.pl      2008-02-19 06:51:14 UTC (rev 1027)
@@ -167,8 +167,8 @@
            }
            # since this test is ugly, I have to do it by itself
            # detect source (.) trying to pass args to the command it runs
-           if (not $found and m/^\s*(\.\s+[^\s;]+\s+([^\s]+))/) {
-               if ($2 =~ /^(\&|\||\d?>|<|[^`]+`|;)/) {
+           if (not $found and m/^\s*(\.\s+[^\s;\`]+\s+([^\s;]+))/) {
+               if ($2 =~ /^(\&|\||\d?>|<)/) {
                    # everything is ok
                    ;
                } else {

Modified: trunk/scripts/wnpp-alert.1
===================================================================
--- trunk/scripts/wnpp-alert.1  2008-02-17 14:51:29 UTC (rev 1026)
+++ trunk/scripts/wnpp-alert.1  2008-02-19 06:51:14 UTC (rev 1027)
@@ -10,6 +10,9 @@
 orphaned (O), are up for adoption (RFA), or the maintainer has asked
 for help (RFH) from the WNPP webpages, and then outputs a list of
 packages installed on the system which are in those lists.
+.PP
+Note that WNPP, and therefore \fBwnpp-alert\fR's output, is source 
+package based.
 .SH OPTIONS
 .TP
 .BR \-\-diff ", " \-d



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to