Closed lsulak closed 1 year ago
I was able to install the realpath
function with (re)installing coreutils
via the brew. My coreutils I previously had was partly corrupted for some reason, but I didn't know about it until now. I will close this issue now as the script works as expected under OS X.
Describe the bug
Upload of json data files failing on
realpath
command when calculating path to the data file. Used prepared scriptimport_all.sh
Problem is that
realpath
function doesn't exist on OS X (at least my M1 Mac with version 12.6 doesn't have it), see https://github.com/whatwg/html-build/issues/90. I couldn't install it viabrew install coreutils
either.To Reproduce
Steps to reproduce the behavior OR commands run:
import_all.sh
in your bash environment. (OS X, zsh)Expected behavior
No error message visible. All data files imported in Menas DB.
Desktop:
Additional context
Proposal to repair - either document installation steps of the realpath function or implement the realpath into the script direcly.