Fix regression when JAR_DIR is a relative path (#5815)

pull/5838/head
Felix Eckhofer 8 years ago committed by Aleksander Machniak
parent 5597ff2107
commit 37d3710574

@ -37,7 +37,7 @@ if [ ! -r "$JAR_DIR/compiler.jar" ]; then
echo "Please download $CLOSURE_COMPILER_URL and extract compiler.jar to $JAR_DIR/."
exit 1
fi
(cd $JAR_DIR && unzip -p "/tmp/$$.zip" "*.jar" > "$JAR_DIR/compiler.jar")
unzip -p "/tmp/$$.zip" "*.jar" > "$JAR_DIR/compiler.jar"
rm -f "/tmp/$$.zip"
fi

Loading…
Cancel
Save