From: Andrey Miroshnikov Date: Thu, 13 Oct 2022 14:12:21 +0000 (+0100) Subject: fix(tasyagle-install): avt_env script moved to comply with FHS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cfb749e95fa02b065e0d726d75c8692423c652b;p=dev-env-setup.git fix(tasyagle-install): avt_env script moved to comply with FHS --- diff --git a/tasyagle-install b/tasyagle-install index 07c26a7..7e9d809 100755 --- a/tasyagle-install +++ b/tasyagle-install @@ -21,13 +21,14 @@ git clone https://git.libre-soc.org/git/tas-yagle.git cd tas-yagle # Specify installation dir -installDir="/usr/local" ./build.sh +installDir="/usr/local" +installDir=$installDir ./build.sh cd /home/$SUDO_USER/src chown -R $SUDO_USER . chgrp -R $SUDO_USER . -STRING="source /usr/local/avt_env.sh" +STRING="source $installDir/bin/avt_env.sh" if grep -q "$STRING" /home/$SUDO_USER/.bashrc ; then echo 'avt_env.sh already in .bashrc' else