[CORE] chore: improve helpers script

This commit is contained in:
2026-08-05 11:02:54 +02:00
parent 7052f184ba
commit c604b2c100
+9 -1
View File
@@ -36,6 +36,14 @@ if [[ $usesubmodule != 'n' ]]; then
createFiles $(pwd)/latex-helpers
else
read -e -p "Where are the helper files located (absolute path to folder only, tab-completion enabled)? " helperpath
if [[ ${dir:0:1} == '/' ]]; then
createFiles $helperpath
echo "Helpers set up. You may experience issues if you have not entered an absolute path. If so, simply rerun this script to regenerate the files!"
else
echo "Note: You did not enter an absolute path, it was expanded automatically"
createFiles $(readlink -f $(pwd)/$helperpath)
fi
echo "
=> If you entered also the file name, rerun this script, the compile will fail in that case.
"
fi