pantry/projects/mesonbuild.com/shim

12 lines
292 B
Text
Raw Normal View History

2022-09-15 00:45:56 +03:00
#!/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 "$@"