You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/03/01 11:52:43 UTC

[GitHub] [lucene] sonatype-lift[bot] commented on a change in pull request #717: LUCENE-10447: always use utf8 for forked process encoding. Use the sa…

sonatype-lift[bot] commented on a change in pull request #717:
URL: https://github.com/apache/lucene/pull/717#discussion_r816701565



##########
File path: lucene/distribution/src/binary-release/bin/luke.sh
##########
@@ -17,5 +17,12 @@
 
 MODULES=`dirname "$0"`/..
 MODULES=`cd "$MODULES" && pwd`
-java --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --module org.apache.lucene.luke "$@"
+
+if [ -n "$LAUNCH_CMD" ]; then
+  # launch command overridden (for tests).
+else

Review comment:
       *ShellCheck:*  Can't have empty then clauses (use 'true' as a no-op).
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with `help` or `ignore`)

##########
File path: lucene/distribution/src/binary-release/bin/luke.sh
##########
@@ -17,5 +17,12 @@
 
 MODULES=`dirname "$0"`/..
 MODULES=`cd "$MODULES" && pwd`
-java --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --module org.apache.lucene.luke "$@"
+
+if [ -n "$LAUNCH_CMD" ]; then

Review comment:
       *ShellCheck:*  Couldn't parse this then clause. Fix to allow more checks.
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with `help` or `ignore`)

##########
File path: lucene/distribution/src/binary-release/bin/luke.sh
##########
@@ -17,5 +17,12 @@
 
 MODULES=`dirname "$0"`/..
 MODULES=`cd "$MODULES" && pwd`
-java --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --module org.apache.lucene.luke "$@"
+
+if [ -n "$LAUNCH_CMD" ]; then
+  # launch command overridden (for tests).
+else

Review comment:
       *ShellCheck:*  Unexpected keyword/token. Fix any mentioned problems and try again.
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with `help` or `ignore`)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org