Modified PATH and AVERTEC_TOP, to fix doc generation scripts
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Thu, 21 Jul 2022 22:04:16 +0000 (22:04 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Thu, 21 Jul 2022 22:04:16 +0000 (22:04 +0000)
build.sh

index 45d18243a9b164894afeaa40fd5a6540a7f4107b..9c7916b4eeeffce59e1d7ae9187f06a2d0ebb0b6 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -69,6 +69,6 @@ done
 
 cp -r distrib/share/tcl ${installDir}/share/tasyag
 
-echo "AVERTEC_TOP=${installDir}/share/tasyag" > "${installDir}/avt_env.sh"
-echo 'PATH=${AVERTEC_TOP}/tcl:${PATH}' >> "${installDir}/avt_env.sh"
+echo "AVERTEC_TOP=`pwd`/distrib/share" > "${installDir}/avt_env.sh"
+echo "PATH=`pwd`/distrib/bin:${AVERTEC_TOP}/tcl:${PATH}" >> "${installDir}/avt_env.sh"
 echo 'export AVERTEC_TOP' >> "${installDir}/avt_env.sh"