فهرست منبع

upgrade.sh: make sure we are in the right directory

Austin English 6 سال پیش
والد
کامیت
01c5d9e909
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      upgrade.sh

+ 2 - 0
upgrade.sh

@@ -5,6 +5,8 @@
 # Once the script completes, remember to restart the WSGI service (e.g.
 # Once the script completes, remember to restart the WSGI service (e.g.
 # gunicorn or uWSGI).
 # gunicorn or uWSGI).
 
 
+cd "$(dirname "$0")"
+
 PYTHON="python3"
 PYTHON="python3"
 PIP="pip3"
 PIP="pip3"