Fix bug where .bin isn't already created

This commit is contained in:
Eric Schultz 2018-06-05 16:34:23 -05:00
parent cf63c9dad2
commit ed0e598876

View file

@ -2,5 +2,5 @@
if [ ! -e .bin/swagger-codegen-cli.jar ] if [ ! -e .bin/swagger-codegen-cli.jar ]
then then
curl https://oss.sonatype.org/content/repositories/releases/io/swagger/swagger-codegen-cli/2.3.1/swagger-codegen-cli-2.3.1.jar -o .bin/swagger-codegen-cli.jar curl https://oss.sonatype.org/content/repositories/releases/io/swagger/swagger-codegen-cli/2.3.1/swagger-codegen-cli-2.3.1.jar -o .bin/swagger-codegen-cli.jar --create-dirs
fi fi