You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2020/02/16 15:56:19 UTC
[lucene-solr] branch jira/LUCENE-9220 updated: LUCENE-9220: tone
down debugging now that this works
This is an automated email from the ASF dual-hosted git repository.
rmuir pushed a commit to branch jira/LUCENE-9220
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/jira/LUCENE-9220 by this push:
new 39746be LUCENE-9220: tone down debugging now that this works
39746be is described below
commit 39746be9370e8e98bb8826d6376b86f2cbe7508b
Author: Robert Muir <rm...@apache.org>
AuthorDate: Sun Feb 16 10:56:20 2020 -0500
LUCENE-9220: tone down debugging now that this works
---
gradle/generation/snowball.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gradle/generation/snowball.sh b/gradle/generation/snowball.sh
index b53f80e..20d0d78 100755
--- a/gradle/generation/snowball.sh
+++ b/gradle/generation/snowball.sh
@@ -11,8 +11,8 @@ TESTDSTDIR="${PROJECTDIR}/src/test/org/apache/lucene/analysis/snowball"
trap 'echo "usage: ./snowball.sh <snowball> <snowball-website> <snowball-data> <analysis-common>" && exit 2' ERR
test $# -eq 4
-trap ': "*** BUILD FAILED ***" $BASH_SOURCE:$LINENO: error: "$BASH_COMMAND" returned $?' ERR
-set -eExuo pipefail
+trap 'echo "*** BUILD FAILED ***" $BASH_SOURCE:$LINENO: error: "$BASH_COMMAND" returned $?' ERR
+set -eEuo pipefail
# reformats file indentation to kill the crazy space/tabs mix.
# prevents early blindness !
@@ -70,7 +70,7 @@ for file in ${TESTSRCDIR}/*; do
shuf -n ${row_limit} --random-source=<(${myrandom} < /dev/zero 2>/dev/null) ${file}/${data} > ${tmpdir}/${data} \
&& touch -t ${arbitrary_timestamp} ${tmpdir}/${data}
done
- zip --junk-paths -X -9 ${TESTDSTDIR}/${language}.zip ${tmpdir}/voc.txt ${tmpdir}/output.txt
+ zip --quiet --junk-paths -X -9 ${TESTDSTDIR}/${language}.zip ${tmpdir}/voc.txt ${tmpdir}/output.txt
echo "${language}" >> ${TESTDSTDIR}/test_languages.txt
rm -r ${tmpdir}
fi