You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It depends on how you run the script. If you run it via sh install-unx.sh, it won't matter (the change of working directory is only transient and will be restored after sh is done). If you run the script line by line interactively in the shell, yes, the change of working directory will be permanent, as you could expect.
That said, I guess adding cd $PREVWD to the end should be fine.
tinytex/tools/install-unx.sh
Lines 21 to 35 in 18cc7c5
Aren't we missing a
cd $PREVWD
also at the end ?I am running this on a new Linux environment, and after the installation I am in
/tmp
while I was not at the start.@yihui Just wondering before doing the modification
The text was updated successfully, but these errors were encountered: