From 49bfb081a614e3e4f60d6c5bf4ec3c8833bca4e4 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Thu, 14 Sep 2017 17:45:02 +0200 Subject: [PATCH] add set +eu in subshell --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 00d83b9..922f2ed 100755 --- a/scripts/install +++ b/scripts/install @@ -158,6 +158,7 @@ ynh_replace_string "__KEY__" "$key" $final_path/weblate/settings.py virtualenv ${final_path}/venv #run source in a 'sub shell' ( + set +eu source ${final_path}/venv/bin/activate ${final_path}/venv/bin/pip install Weblate==2.16 ${final_path}/venv/bin/pip install pytz python-bidi PyYaML Babel pyuca pylibravatar pydns @@ -170,6 +171,7 @@ virtualenv ${final_path}/venv echo "SPECIFIC SETUP Filling up the database" # set up database ( + set +eu source ${final_path}/venv/bin/activate weblate migrate --noinput --settings weblate.settings # generate static files