#!/bin/sh
# Legacy alias for `maude.exe`. Prints deprecation warning, then delegates.
# Will be removed in v0.17.x. Use `maude` directly.
#
# Like maude.exe, this is HARDLINKED over by `cli/install.cjs` on postinstall
# to the same native binary. If the hardlink failed, this stub fires.
echo "mdcc: ⚠ \`mdcc\` is deprecated. Use \`maude\` instead. This alias will be removed in v0.17.x." >&2
echo "@1agh/maude: postinstall did not complete (the bin stub is still in place)." >&2
echo "  Run \`npm rebuild @1agh/maude\` to retry the postinstall hardlink." >&2
exit 1
