mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
12 lines
292 B
Bash
12 lines
292 B
Bash
|
#!/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 "$@"
|