Move cd to be more in the program.

This commit is contained in:
2025-10-14 11:24:14 -07:00
parent 8507cbd189
commit 3fcd6af3a9

View File

@@ -7,9 +7,9 @@
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
PROG="$(basename -- "${BASH_SOURCE[0]}")"
echo "$DIR/$PROG"
cd $DIR
echo "*** Running cronjob @ `date` ***"
cd $DIR
# Pull any updates, and if the project is already up to date, exit successfully.
git pull | grep -v "up to date"