johan/consolidate-ipe-data #5
1 changed files with 6 additions and 1 deletions
|
@ -31,7 +31,12 @@ EOF
|
|||
done
|
||||
echo ""
|
||||
|
||||
sqlite3 "${fullDbPath}" < "${tmpSql}"
|
||||
rc=0
|
||||
sqlite3 "${fullDbPath}" < "${tmpSql}" 2>&1 | grep -v "filling the rest with NULL" || rc="${PIPESTATUS[0]}"
|
||||
if [[ $rc -ne 0 ]]; then
|
||||
echo "Error executing sqlite import"
|
||||
exit "$rc"
|
||||
fi
|
||||
|
||||
echo "[+] Ingesting spatial data."
|
||||
|
||||
|
|
Loading…
Reference in a new issue