theypsilon / Update_All_MiSTer

All-in-one script for updating your MiSTer
GNU General Public License v3.0
664 stars 28 forks source link

Makes sure the full INI path is used #81

Closed coredump closed 1 year ago

coredump commented 2 years ago

I noticed when running the script via a SSH console that it will fail to read the INI file and copy the new downloaded script over the old update_all.sh (since the path for that is also derived from $INI_PATH. Because of the way the INI path is captured, it misses the full/relative path, and since the script is running on /tmp it fails (mostly silently).

Just adding realpath there seems to fix everything.

theypsilon commented 1 year ago

This is not applicable to new update_all version, but thanks for the PR!