carderne/signal-export

Readlink illegal option error on MacOS when running the helper script

Closed this issue · 3 comments

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.

Can you check if realpath works?
Eg:

realpath ~/Documents/path/to/directory

It should print the full directory without the tilde ~.

(And hope that there are no symlinks.)

This was fixed/changed in 2c29b9f