I'm guessing this is because my /private/var/select/sh symlink points to dash as opposed to bash.
Indeed, pasting the esd2iso.sh script into www.shellcheck.net reveals a bunch of errors, most notably that declare and arrays are not part of POSIX sh.
You could either fix these issues, or you could change the shebang to /bin/bash.
Update: I changed the shebang in my CrystalFetch.App archive from /bin/sh to /bin/bash, and it seems that everything started to work.
I experienced the following error:
I'm guessing this is because my
/private/var/select/sh
symlink points todash
as opposed tobash
.Indeed, pasting the esd2iso.sh script into www.shellcheck.net reveals a bunch of errors, most notably that
declare
and arrays are not part of POSIXsh
.You could either fix these issues, or you could change the shebang to
/bin/bash
.Update: I changed the shebang in my CrystalFetch.App archive from
/bin/sh
to/bin/bash
, and it seems that everything started to work.Update 2: Another option might be to upgrade to https://github.com/Technogeezer50/esd2iso. It uses
/bin/bash
explicitly.