Skip to content

Commit

Permalink
[fix] Adding set -e to data download script so it fails if any subcom…
Browse files Browse the repository at this point in the history
…mands fail
  • Loading branch information
albarrentine committed May 5, 2016
1 parent 879da62 commit a9ba615
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libpostal_data
@@ -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
Expand Down

0 comments on commit a9ba615

Please sign in to comment.