aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/problemexamples/problemtemplate/compile/java2
1 files changed, 1 insertions, 1 deletions
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`