Commit 174d233d authored by CEVAER's avatar CEVAER
Browse files

Exits when database URL not defined or automatically set.

parent 7b6682bd
......@@ -26,6 +26,11 @@ if [ -z "$DATABASE_URL" ] ; then
echo "Database URL : $DATABASE_URL"
if [ -z "$DATABASE_URL" ] ; then
echo "Error : database URL not defined. Exiting."
exit 1
if [ -z "$output_path" ] ; then
echo "The output path is not defined, define it with -o <output_path>"
exit 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment