From a6bcb006677f6572eed56d6ae8a194466c426644 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Tue, 28 May 2019 07:29:06 +0200 Subject: fix if of zip as reported ('or' but was 'and') --- doc/problemexamples/problemtemplate/compile/java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/problemexamples/problemtemplate/compile/java') diff --git a/doc/problemexamples/problemtemplate/compile/java b/doc/problemexamples/problemtemplate/compile/java index 18f4d3e..0670dc6 100644 --- a/doc/problemexamples/problemtemplate/compile/java +++ b/doc/problemexamples/problemtemplate/compile/java @@ -65,7 +65,7 @@ if [ "$bocau" == "" -o "$bocag" == "" ]; then fi mkdir -p src -if [ "${name##*.}" == "zip" -a "${name##*.}" == "ZIP" ]; then +if [ "${name##*.}" == "zip" -o "${name##*.}" == "ZIP" ]; then unzip "$name" -d src if [ "${name##*.}" == "zip" ]; then name=`basename $name .zip` -- cgit v1.2.3