Skip to content

Commit

Permalink
fix: calling script from wrong directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopr committed Nov 25, 2022
1 parent 7db6d12 commit 8e7435c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions scripts/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ read -p "==> Administrator Email: " email
read -p ">>>> VisualDynamics no-reply Email: " noreplyemail
read -s -p ">>>> VisualDynamics no-reply Email password: " noreplyemailpassword

echo "#!bin/bash" >| ./config
echo "export VISUAL_DYNAMICS_ADMINISTRATOR_EMAIL=$email" >> ./config
echo "export VISUAL_DYNAMICS_NO_REPLY_EMAIL=$noreplyemail" >> ./config
echo "export VISUAL_DYNAMICS_NO_REPLY_EMAIL_PASSWORD=$noreplyemailpassword" >> ./config
echo "#!bin/bash" >| ../config
echo "export VISUAL_DYNAMICS_ADMINISTRATOR_EMAIL=$email" >> ../config
echo "export VISUAL_DYNAMICS_NO_REPLY_EMAIL=$noreplyemail" >> ../config
echo "export VISUAL_DYNAMICS_NO_REPLY_EMAIL_PASSWORD=$noreplyemailpassword" >> ../config
6 changes: 3 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export PIP_IGNORE_INSTALLED=0
SHELL_NAME="${SHELL##*/}"

echo
chmod +x ./scripts/config.sh
source ./scripts/config.sh
source config
chmod +x ./config.sh
source ./config.sh
source ../config
echo

if type "conda" &> /dev/null
Expand Down

0 comments on commit 8e7435c

Please sign in to comment.