algorithmiaio / langpacks

Standardized builder and runners for Algorithmia algorithms
https://algorithmia.com/
MIT License
16 stars 9 forks source link

fix shell scripts that fail with `set -eu` command #106

Closed zeryx closed 5 years ago

zeryx commented 5 years ago

the changes requested by jamesA resulted in the following exception which were not returned by the package set construction process: /usr/local/bin/algorithmia-build: line 13: $1: unbound variable This seems to be due to the introduction of the u operator in the set -eu requested modification for build & solaris-build.

bytekast commented 5 years ago

what is the u flag for?

jamesatha commented 5 years ago

what is the u flag for?

It's to make sure we crash if ANACONDA_ENV (or any other variable we expect to be set) isn't