This is an automated email from the ASF dual-hosted git repository.

mawiesne pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp.git


The following commit(s) were added to refs/heads/main by this push:
     new a81c162f OPENNLP-1687: Remove quotes around $HEAP in opennlp tools 
shell script (#734)
a81c162f is described below

commit a81c162ffa7b0fe843081b587a2823471698724b
Author: Rui Chen <[email protected]>
AuthorDate: Sun Jan 5 00:22:06 2025 -0500

    OPENNLP-1687: Remove quotes around $HEAP in opennlp tools shell script 
(#734)
    
    Signed-off-by: Rui Chen <[email protected]>
---
 opennlp-distr/src/main/bin/opennlp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opennlp-distr/src/main/bin/opennlp 
b/opennlp-distr/src/main/bin/opennlp
index 8375e2d6..c1c2984c 100755
--- a/opennlp-distr/src/main/bin/opennlp
+++ b/opennlp-distr/src/main/bin/opennlp
@@ -58,4 +58,4 @@ if [ -n "$JAVA_HEAP" ] ; then
   HEAP="-Xmx$JAVA_HEAP"
 fi
 
-$JAVACMD "$HEAP" -Dlog4j.configurationFile="$OPENNLP_HOME/conf/log4j2.xml" -cp 
"$CLASSPATH" opennlp.tools.cmdline.CLI "$@"
+$JAVACMD $HEAP -Dlog4j.configurationFile="$OPENNLP_HOME/conf/log4j2.xml" -cp 
"$CLASSPATH" opennlp.tools.cmdline.CLI "$@"

Reply via email to