pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Fixed two typos.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6900aecca64b
branches:  trunk
changeset: 503832:6900aecca64b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Dec 01 03:12:09 2005 +0000

description:
Fixed two typos.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 9f61d4f2fddc -r 6900aecca64b pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Dec 01 03:10:16 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Dec 01 03:12:09 2005 +0000
@@ -11,7 +11,7 @@
 # Freely redistributable.  Absolutely no warranty.
 #
 # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.398 2005/12/01 03:10:16 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.399 2005/12/01 03:12:09 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -2607,9 +2607,9 @@
                                #
 
                                if (($state != SCST_PAX_S && $state != SCST_SED_E) && $shellword =~ qr"^/" && $shellword ne "/dev/null") {
-                                       $line->log_warning("Found absolute pathname: ${sw}");
+                                       $line->log_warning("Found absolute pathname: ${shellword}");
                                        $line->explain(
-                                               "Absolute pathnames are often an indicator for unportable code. As"
+                                               "Absolute pathnames are often an indicator for unportable code. As",
                                                "pkgsrc aims to be a portable system, absolute pathnames should be",
                                                "avoided whenever possible.");
                                }



Home | Main Index | Thread Index | Old Index