This repository has been archived on 2020-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
borg_interface/borg_interface.sh

15 lines
349 B
Bash
Executable File

#!/bin/bash
# Get the current working directory
SCRIPTPATH=$(dirname -- "$(readlink -e -- "$BASH_SOURCE")")
# add the bin directory to the path
PATH=$PATH:$SCRIPTPATH/borg_interface/bin/
# activate the virtual environment
source $SCRIPTPATH/borg_interface/bin/activate
# execute the main script
python3 $SCRIPTPATH/borg_interface/main.py
exit 0