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 a syntax error (a string ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac4d6652e775
branches:  trunk
changeset: 498340:ac4d6652e775
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Aug 20 10:53:44 2005 +0000

description:
Fixed a syntax error (a string had not been enclosed in double quotes).

diffstat:

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

diffs (21 lines):

diff -r 9584d425a2ec -r ac4d6652e775 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Aug 20 10:50:52 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Aug 20 10:53:44 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.247 2005/08/20 10:05:00 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.248 2005/08/20 10:53:44 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -1324,7 +1324,7 @@
        if ($value =~ qr"\$") {
                log_warning(NO_FILE, NO_LINE_NUMBER, "The variable ${varname} could not be resolved completely.");
                log_warning(NO_FILE, NO_LINE_NUMBER, sprintf("Its value would be \"${value}\"---using %s instead.",
-                   defined($default_value) ? \"${default_value}\" : "(undef)"));
+                   defined($default_value) ? "\"${default_value}\"" : "(undef)"));
                $value = $default_value;
        }
        return $value;



Home | Main Index | Thread Index | Old Index