~mser

Austria

https://mser.at

Developer and sysadmin based in Austria.

Trackers

~mser/vmangos-docker

Last active 11 months ago

~mser/rail

Last active 1 year, 1 month ago

~mser/herod

Last active 1 year, 2 months ago

~mser/synupkeep

Last active 1 year, 2 months ago

~mser/d2-holy-grail-docker

Last active 1 year, 2 months ago

~mser/amdgpu-fancontrol

Last active 1 year, 2 months ago

~mser/emote-server

Last active 1 year, 3 months ago

#1 Failing ./00-install.sh 11 months ago

bug added by ~mser on ~mser/vmangos-docker

#1 Failing ./00-install.sh 11 months ago

Comment by ~mser on ~mser/vmangos-docker

Thanks for the report.

I believe what's happening here is that the following doesn't give you an absolute path under macOS:

script_path=$(readlink -f "$0")
repository_path=$(dirname "$script_path")

It's probably because of the reasoning you can find stated here:

But readlink isn't POSIX and apparently the solution relies on GNU's readlink where BSD's won't work for some reason

macOS is based on BSD, so this is likely true for it as well.

I've just pushed a commit that should fix this. Please let me know if this works for you, as I don't have a macOS system here to test this on.

I recommend trying with a fresh copy of the repository because the 00-create-or-reset-config-files.sh will probably have written the config files to the wrong locations (since that also used the aforementioned script to determine the path of the repository).