From 9099579bc3592e1b27233e706d3a624716f40b67 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Fri, 4 Feb 2022 17:45:41 -0300 Subject: [PATCH] Fix bug --- build.sh | 1 + 1 file changed, 1 insertion(+) 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