pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/check-portability/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Thu Mar 12 19:26:17 UTC 2020

Modified Files:
        pkgsrc/pkgtools/check-portability/files: check-portability.c

Log Message:
pkgtools/check-portability: make explanation for [[ more precise


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
    pkgsrc/pkgtools/check-portability/files/check-portability.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/check-portability/files/check-portability.c
diff -u pkgsrc/pkgtools/check-portability/files/check-portability.c:1.5 pkgsrc/pkgtools/check-portability/files/check-portability.c:1.6
--- pkgsrc/pkgtools/check-portability/files/check-portability.c:1.5     Thu Mar 12 08:55:07 2020
+++ pkgsrc/pkgtools/check-portability/files/check-portability.c Thu Mar 12 19:26:17 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: check-portability.c,v 1.5 2020/03/12 08:55:07 rillig Exp $ */
+/* $NetBSD: check-portability.c,v 1.6 2020/03/12 19:26:17 rillig Exp $ */
 
 /*
  Copyright (c) 2020 Roland Illig
@@ -320,9 +320,9 @@ checkline_sh_double_brackets(cstr filena
        nerrors++;
        explain(
            W_double_bracket,
-           "The command [[ is not available on all platforms.",
-           "Since it is typically used inside an if statement,",
-           "the missing command is interpreted as a \"no\".",
+           "The keyword [[ is only available in bash, not in other shells.",
+           "Since it is typically used inside an if statement, if that",
+           "command is missing, it is interpreted as a \"no\".",
            "",
            "An error message of the form \"[[: command not found\"",
            "is logged, but that is easy to overlook in the large",



Home | Main Index | Thread Index | Old Index