[fix] Adding set -e to data download script so it fails if any subcommands fail

This commit is contained in:
Al
2016-05-04 23:08:06 -04:00
parent 879da6214a
commit a9ba61585b

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -e
if [ "$#" -lt 3 ]; then
echo "Usage: ./libpostal_data [upload|download] [base|geodb] data_dir"
exit 1