[fix] Adding set -e to data download script so it fails if any subcommands fail
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user