[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, develop, updated. 0.43-15-g9510d05
Andreas Beckmann
debian at abeckmann.de
Tue Jan 31 07:59:38 UTC 2012
The following commit has been merged in the develop branch:
commit 56b117037f709592b9d39a1cedcc4908696e8df2
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Wed Jan 25 03:10:03 2012 +0100
look for the full name of the known problem
a substring match may report wrong results, there are
unowned_files_... and owned_files_... where one name is the
suffix of another
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/home/piupartsm/bin/detect_well_known_errors b/home/piupartsm/bin/detect_well_known_errors
index 667117d..ffe9ede 100755
--- a/home/piupartsm/bin/detect_well_known_errors
+++ b/home/piupartsm/bin/detect_well_known_errors
@@ -121,7 +121,7 @@ do
do
# source files to get COMMAND, HELPTEXT and ISSUE
. $PROBLEMDIR/$problem
- grep $problem $ALLKPR | cut -d' ' -f1 | sort -u > $LOGS
+ grep " $problem" $ALLKPR | cut -d' ' -f1 | sort -u > $LOGS
if [ -s $LOGS ] ; then
OUTPUT=$HTDOCS/$SECTION/${problem%.conf}.tpl
echo '<table class="righttable"><tr class="titlerow"><td class="titlecell">' > $OUTPUT
--
piatti.debian.org configuration files
More information about the Piuparts-commits
mailing list