14 lines
254 B
Bash
Executable File
14 lines
254 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
if [ -d "venv" ]
|
|
then
|
|
source "venv/bin/activate"
|
|
else
|
|
echo "No virtualenv found"
|
|
exit 1
|
|
fi
|
|
|
|
python -m calendar_synchronizer -v sync --holidays ../../data/holidays.yaml --schedule ../../data/schedule.yaml "$@"
|