!17 [sync] PR-12: 修复不同命令获取的帮助信息一致问题

From: @openeuler-sync-bot 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2024-02-27 02:23:50 +00:00 committed by Gitee
commit b40fade1e3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -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" "${@}"

View File

@ -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,6 +122,9 @@ install -p -m644 %{SOURCE2} \
%license LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt
%changelog
* 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 <wang__ge@126.com> - 1.8.9-2
- Replace run with exec