diff --git a/iterate.sh b/iterate.sh index d44f071..1393a4c 100644 --- a/iterate.sh +++ b/iterate.sh @@ -6,10 +6,10 @@ mydir=$(dirname "$0") PREP_SCRIPT="$(cd "$(dirname "$0")" && pwd)/prep 1 font.sh" #activate python environment -source "$(cd "$(dirname "$0")" && pwd)/.env/bin/activate" +source "$mydir"/.env/bin/activate #move orphans before we do anything else -python $mydir/orphans.py +python3 "$mydir"/orphans.py # Check if the prep script exists if [[ ! -f "$PREP_SCRIPT" ]]; then