diff --git a/build.sh b/build.sh index d4b1f9d..7b7d973 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,7 @@ # TODO: Get the .pkg.tar.zst from calpkgs buildDatabase() { + lastFolder=$(pwd -P) cd db || { echo "Couldn't cd into 'db'." 1>&2 && exit 1; } while read -r pkg; do