mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +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 "$@"
|