npbackup/bin/COMPILE.sh
2024-02-26 14:42:33 +01:00

14 lines
No EOL
264 B
Bash
Executable file

#!/usr/bin/env bash
# This is an example compiler script
machine="$(uname -m)"
cd /opt/npbackup
OLD_PYTHONPATH="$PYTHONPATH"
export PYTHONPATH=/opt/npbackup
/opt/npbackup/venv/bin/python bin/compile.py --audience all $opts
export PYTHONPATH="$OLD_PYTHONPATH"