[Piuparts-commits] [SCM] piuparts git repository branch, piatti.git, updated. f3d478e5f291baaf9e84d1982ca5e2e6b353a232
Andreas Beckmann
debian at abeckmann.de
Sun Apr 1 08:46:51 UTC 2012
The following commit has been merged in the piatti.git 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
--
piuparts git repository
More information about the Piuparts-commits
mailing list