#!/bin/sh

# Only forward if the pause file doesn't exist
if [ ! -f ./pause ]; then
    python forwardNotif.py
fi

#!/bin/bash

# Only forward if the pause file doesn't exist
if [ ! -f ${BASH_SOURCE[0]%/*}/pause ]; then
    python ${BASH_SOURCE[0]%/*}/forwardNotif.py
fi

Add location to script call
Add location to script call
