This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new a2fa849 AXIS2-5990 fix axis2.sh with JDK 9 and above
a2fa849 is described below
commit a2fa849cb3202c6b91f9672a3c6604180c626218
Author: root <[email protected]>
AuthorDate: Mon Nov 9 14:18:09 2020 -0500
AXIS2-5990 fix axis2.sh with JDK 9 and above
---
modules/tool/script/axis2.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/tool/script/axis2.sh b/modules/tool/script/axis2.sh
index 733860d..5056733 100644
--- a/modules/tool/script/axis2.sh
+++ b/modules/tool/script/axis2.sh
@@ -46,7 +46,9 @@ do
if [ "$prearg"=-classpath ] || [ "$prearg"=-cp ]
then
- AXIS2_CLASSPATH="$arg":"$AXIS2_CLASSPATH"
+ if [[ $arg == "*.jar" ]]; then
+ AXIS2_CLASSPATH="$arg":"$AXIS2_CLASSPATH"
+ fi
fi
prearg="$arg"
done