소스 검색

Merge pull request #3142 from austin987/upgrade-cwd

upgrade.sh: make sure we are in the right directory
Jeremy Stretch 6 년 전
부모
커밋
eb41bc66a4
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.
 # gunicorn or uWSGI).
 
+cd "$(dirname "$0")"
+
 PYTHON="python3"
 PIP="pip3"