From 543de5bdcea2cc0a75487b9cd6604a7df7d0ba15 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 8 Feb 2026 14:48:15 -0700 Subject: [PATCH] build filesystem folder. --- scripts/build_filesystem.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/build_filesystem.sh b/scripts/build_filesystem.sh index 788f8e4..75e8287 100755 --- a/scripts/build_filesystem.sh +++ b/scripts/build_filesystem.sh @@ -13,6 +13,11 @@ if [ ! -f ./dependencies/hardened_malloc/Makefile ]; then git clone https://github.com/GrapheneOS/hardened_malloc.git fi +cd "$(dirname "$0")" +DIR="$(dirname "$0")" +cd .. +echo $PWD + #switching to root to perform chroot if [ "$(id -u)" -ne 0 ]; then echo "switching from $(id -un) to root"