Skip to content

Commit a9ba615

Browse files
committed
[fix] Adding set -e to data download script so it fails if any subcommands fail
1 parent 879da62 commit a9ba615

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libpostal_data

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
35
if [ "$#" -lt 3 ]; then
46
echo "Usage: ./libpostal_data [upload|download] [base|geodb] data_dir"
57
exit 1

0 commit comments

Comments
 (0)