aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-10-21 16:32:49 -0700
committerKenny Root <kenny@the-b.org>2015-10-21 16:32:54 -0700
commit5e4227c89936a5c578f2772eceb58e8fddd3b9da (patch)
treeb8a94e308928827884595943292945fb3413cfa6 /scripts
parentdacab1290944444313fcae54a351b9ae5db7f263 (diff)
downloadconnectbot-5e4227c89936a5c578f2772eceb58e8fddd3b9da.tar.gz
connectbot-5e4227c89936a5c578f2772eceb58e8fddd3b9da.tar.bz2
connectbot-5e4227c89936a5c578f2772eceb58e8fddd3b9da.zip
Change the lint script to use message instead of summary
The message has a better explanation (i.e., specific to the instance it's talking about) than the summary which is fairly generic.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-lint-count.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-lint-count.bash b/scripts/check-lint-count.bash
index c02f70e..5247a9b 100755
--- a/scripts/check-lint-count.bash
+++ b/scripts/check-lint-count.bash
@@ -32,7 +32,7 @@ lint_results="$tmp_dir/lint.txt"
hist_results="$tmp_dir/hist.txt"
run_query() {
- local xqilla_script='string-join(//issue/location/(concat("file=", @file, " line=", @line, " column=", @column, " reason=", ../@summary)), "&#10;")'
+ local xqilla_script='string-join(//issue/location/(concat("file=", @file, " line=", @line, " column=", @column, " message=", ../@message)), "&#10;")'
xqilla -i "$1" <(echo "$xqilla_script") | sed "s,$PWD/,,g" > "$2"
}