erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

macOS readlink doesn't support '-f' switch #576

Closed rlipscombe closed 7 years ago

rlipscombe commented 7 years ago

...meaning that https://github.com/erlware/relx/commit/103af5c657fa38e44f04c93702d0e55a3271d82b broke the extended startup script on macOS.

rlipscombe commented 7 years ago

See also https://github.com/erlware/relx/pull/568

jonasrichard commented 7 years ago

Yeah, pretty annoying bug. Anyway I went back to rebar 3.3.4 where an older release is used. Some shell expert can rewrite this to

case $OSTYPE in 
  darwin*) SCRIPT=(readlink ...)
  ;;

etc.

lrascao commented 7 years ago

@jonasrichard that's exactly what i'm trying to get working right now, thanks!

lrascao commented 7 years ago

closing via #579