pantry/projects/mesonbuild.com/shim.bash
2022-09-27 10:44:15 -04:00

11 lines
292 B
Bash
Executable file

#!/usr/bin/env bash
self="${BASH_SOURCE[0]}"
if test -L "$self"; then
prefix="$(dirname "$self")"
suffix="$(dirname $(readlink $self))"
LIBEXEC="$(cd $prefix/$suffix && pwd)"
else
LIBEXEC="$(cd "$(dirname "$self")" && pwd)"
fi
source "$LIBEXEC/activate"
exec "$LIBEXEC"/meson.py "$@"