Skip to content

Commit 80650d9

Browse files
committed
tools: Small improvement of 'act' script
1 parent b89d3ee commit 80650d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/act

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,15 @@ if [ ! -d venvs ]; then
5858
return 2
5959
fi
6060

61+
BASE_DIR=`pwd`
6162
cd venvs > /dev/null
6263
ENV_DIR=`pwd`
6364

6465
if test -f "$ENV_DIR/py_$1/bin/activate"; then
6566
echo
6667
source $ENV_DIR/py_$1/bin/activate
6768
echo "Activating virtual environment py_$1 (`python3 -V`)"
69+
echo "from SmartHomeNG installation in $BASE_DIR"
6870
echo
6971
echo To deactivate the virtual environment simply type the command \'deactivate\'
7072
else

0 commit comments

Comments
 (0)