small fix to use absolute paths
This commit is contained in:
parent
9a5cf10b6e
commit
5e33b466a2
@ -40,6 +40,7 @@ if [[ "$1" == '--' ]]; then shift; fi
|
||||
NOW=$(date +%s)
|
||||
DAY_OF_YEAR=$(($(date -d "@$NOW" +%j) - 1))
|
||||
|
||||
PRAYERTIMES_CSV=$(realpath $PRAYERTIMES_CSV)
|
||||
if [[ ! -s $PRAYERTIMES_CSV ]]; then
|
||||
echo "Prayertimes db is missing"
|
||||
echo "Attempting to fetch it from github..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user