#!/bin/sh script="$0" if test -L "$script"; then # readlink is not POSIX, but present on all platforms we care about. # On macOS, it does not support the recursive following of symlinks, # so we only resolve one link and hope for the best. script="$(readlink -f "$script" 2>/dev/null || readlink "$script")" fi root="$(dirname "$script")/.." exec "$root/libexec/python3.10" "$root/libexec/musicxml2ly" "$@"