mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
it no longer conflicts with community/elixir, upgraded version no longer complains about get_stacktrace being removed, fixes the crash in Elixir.Logger.App, and the missing plugins warnings at compilation are reduced by compiling rebar_elixir_plugin earlier
16 lines
339 B
Bash
16 lines
339 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
readlink_f () {
|
|
cd "$(dirname "$1")" > /dev/null
|
|
filename="$(basename "$1")"
|
|
if [ -h "$filename" ]; then
|
|
readlink_f "$(readlink "$filename")"
|
|
else
|
|
echo "$(pwd -P)/$filename"
|
|
fi
|
|
}
|
|
|
|
SELF=$(readlink_f "$0")
|
|
SCRIPT_PATH=$(dirname "$SELF")
|
|
exec "$SCRIPT_PATH"/elixir -e "Mix.start(); Mix.CLI.main()" -- "$@"
|