Merge pull request #1744 from MycroftAI/bugfix/explicity-dirs

Set the directory explicitly start-mycroft.sh scripts
pull/1722/merge
Matthew D. Scholefield 2018-08-15 17:39:41 -05:00 committed by GitHub
commit 0859de50b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ SOURCE="${BASH_SOURCE[0]}"
script=${0}
script=${script##*/}
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
cd -P "$( dirname "$SOURCE" )"
DIR="$( pwd )"
VIRTUALENV_ROOT=${VIRTUALENV_ROOT:-"${DIR}/.venv"}
function help() {

View File

@ -18,7 +18,7 @@ SOURCE="${BASH_SOURCE[0]}"
script=${0}
script=${script##*/}
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
cd -P "$( dirname "$SOURCE" )"
function help() {
echo "${script}: Mycroft service stopper"