makedb.sh: fail if a command exits non-zero

In particular this better handles the case where the `g++` command
fails (e.g. due to not having shapelib installed). The script should
not continue if that command fails.
This commit is contained in:
Nicholas Bishop 2020-01-24 15:58:56 -05:00
parent 2f8dcc91f1
commit 4b122f5817

View file

@ -1,5 +1,7 @@
#!/bin/sh
set -e
g++ builder.cpp -o builder -lshp
rm -rf out naturalearth timezone db.zip