tasyagle-install: Change file ownership to sudo_user
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 25 Jul 2022 15:15:19 +0000 (16:15 +0100)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 25 Jul 2022 15:15:19 +0000 (16:15 +0100)
tasyagle-install

index c81858930d706bd7c7cfbdd6f075da3b9b66661b..af3cd1507f8bba82efad436fe1bf6da1f59a9096 100755 (executable)
@@ -30,3 +30,7 @@ echo "source /usr/local/avt_env.sh" >> /home/$SUDO_USER/.bashrc
 # Compile the documentation
 cd tas-yagle/distrib/docxml2
 make
+
+cd /home/$SUDO_USER/src
+chown -R $SUDO_USER .
+chgrp -R $SUDO_USER .