mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-06-12 19:55:17 +02:00
10 lines
244 B
Bash
Executable file
10 lines
244 B
Bash
Executable file
#!/bin/sh
|
|
set -eu
|
|
|
|
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
|
|
if [ -x "$SCRIPT_DIR/.venv/bin/python" ]; then
|
|
exec "$SCRIPT_DIR/.venv/bin/python" -m pageindex.filesystem.cli "$@"
|
|
fi
|
|
|
|
exec python3 -m pageindex.filesystem.cli "$@"
|