mirror of
https://github.com/frida/frida-tools.git
synced 2026-11-07 09:35:59 -10:00
19 lines
459 B
Bash
Executable File
19 lines
459 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ -z "$PYTHON" ] && PYTHON=$(command -v python3 >/dev/null && echo python3 || echo python)
|
|
|
|
cd $(dirname $0)
|
|
|
|
srcroot=$(pwd)
|
|
|
|
if [ ! -f releng/meson/meson.py ] || git submodule status 2>/dev/null | grep -q '^-'; then
|
|
git submodule update --init --recursive --depth 1 || exit $?
|
|
fi
|
|
|
|
cd - >/dev/null
|
|
|
|
exec "$PYTHON" \
|
|
-c "import sys; sys.path.insert(0, sys.argv[1]); from releng.meson_configure import main; main()" \
|
|
"$srcroot" \
|
|
"$@"
|