From 3c706bc4b2d486b0625963f028906d421be4b59b Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Tue, 27 Feb 2024 09:05:54 +0800 Subject: [PATCH] fix error help information Signed-off-by: cherry530 <707078654@qq.com> --- groovy18-script | 2 +- groovy18.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/groovy18-script b/groovy18-script index f8f5ddf..1b16b81 100644 --- a/groovy18-script +++ b/groovy18-script @@ -103,4 +103,4 @@ set_options $BASE_OPTIONS $GROOVY_OPTS # Let's start export GROOVY_VERSION="1.8" . ${GROOVY_HOME}/bin/startGroovy -startGroovy org.codehaus.groovy.tools.GrapeMain "${@}" +startGroovy "$CLASS" "${@}" diff --git a/groovy18.spec b/groovy18.spec index 57d6057..44274ac 100644 --- a/groovy18.spec +++ b/groovy18.spec @@ -2,7 +2,7 @@ %global archiver 1_8_9 Name: groovy18 Version: 1.8.9 -Release: 2 +Release: 3 Summary: Dynamic language for the Java Platform License: ASL 2.0 and BSD and EPL-1.0 and Public Domain and CPL-1.0 URL: http://groovy-lang.org @@ -122,7 +122,10 @@ install -p -m644 %{SOURCE2} \ %license LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt %changelog -* Mon Feb 05 2024 Ge Wang - 1.8.9-2 +* Mon Feb 26 2024 xu_ping <707078654@qq.com> - 1.8.9-3 +- fix help information is consistent due to the singularity of the class method. + +* Tue Feb 20 2024 Ge Wang - 1.8.9-2 - Replace run with exec * Sat Aug 15 2020 zhanghua - 1.8.9-1 -- Gitee