Readlink illegal option error on MacOS when running the helper script
Closed this issue · 3 comments
vonknio commented
Looks like the MacOS readlink
does not support the f
option. This is the error when running the signalexport
function from helper.sh:
readlink: illegal option -- f
usage: readlink [-n] [file ...]
Using MacOS 12.1.
carderne commented
Can you check if realpath
works?
Eg:
realpath ~/Documents/path/to/directory
It should print the full directory without the tilde ~
.
carderne commented
(And hope that there are no symlinks.)