projects
/
dev-env-setup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
626f087
)
fix(tasyagle-install): avt_env script moved to comply with FHS
author
Andrey Miroshnikov
<andrey@technepisteme.xyz>
Thu, 13 Oct 2022 14:12:21 +0000
(15:12 +0100)
committer
Andrey Miroshnikov
<andrey@technepisteme.xyz>
Thu, 13 Oct 2022 14:12:21 +0000
(15:12 +0100)
tasyagle-install
patch
|
blob
|
history
diff --git
a/tasyagle-install
b/tasyagle-install
index 07c26a73dc1e6819bebc6242c1804c15afc62cfd..7e9d8094dc2222dc5f4de53c3ff80b12166936ba 100755
(executable)
--- 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