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.
2017-03-12 20:26:28 +01:00
|
|
|
#!/bin/bash
|
2017-03-16 09:20:18 +01:00
|
|
|
# Get the current working directory
|
|
|
|
SCRIPTPATH=$(dirname -- "$(readlink -e -- "$BASH_SOURCE")")
|
|
|
|
|
|
|
|
# add the bin directory to the path
|
|
|
|
PATH=$PATH:$SCRIPTPATH/bin/
|
|
|
|
|
|
|
|
# activate the virtual environment
|
|
|
|
source $SCRIPTPATH/bin/activate
|
|
|
|
|
|
|
|
# execute the main script
|
|
|
|
python3 $SCRIPTPATH/price_checker.py
|
2017-03-12 20:26:28 +01:00
|
|
|
exit 0
|