From 4cfb749e95fa02b065e0d726d75c8692423c652b Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Thu, 13 Oct 2022 15:12:21 +0100 Subject: [PATCH] fix(tasyagle-install): avt_env script moved to comply with FHS --- tasyagle-install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2