commit
6466659094
|
@ -55,7 +55,7 @@ function main() {
|
||||||
# Prevent running in script then exiting immediately
|
# Prevent running in script then exiting immediately
|
||||||
echo "ERROR: Invoke with 'source venv-activate.sh' or '. venv-activate.sh'"
|
echo "ERROR: Invoke with 'source venv-activate.sh' or '. venv-activate.sh'"
|
||||||
else
|
else
|
||||||
local SRC_DIR="$( cd "$( dirname "${BASH_SOURCE}" )" ; pwd -P )"
|
local SRC_DIR="$( builtin cd "$( dirname "${BASH_SOURCE}" )" ; pwd -P )"
|
||||||
source ${SRC_DIR}/.venv/bin/activate
|
source ${SRC_DIR}/.venv/bin/activate
|
||||||
|
|
||||||
# Provide an easier to find "mycroft-" prefixed command.
|
# Provide an easier to find "mycroft-" prefixed command.
|
||||||
|
|
Loading…
Reference in New Issue