From ec3e4312c7f562b08187b0e923ecf4db19b5bccd Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 30 Oct 2023 09:12:40 -0100 Subject: [PATCH] =?UTF-8?q?repara=C3=A7ao=20do=20script=20de=20constru?= =?UTF-8?q?=C3=A7ao=20da=20iso=20devuan=2032=20bit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my-distro-devuan-32/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/my-distro-devuan-32/build.sh b/my-distro-devuan-32/build.sh index b6371995..022aee55 100755 --- a/my-distro-devuan-32/build.sh +++ b/my-distro-devuan-32/build.sh @@ -15,8 +15,8 @@ build="$(pwd)" # Create the build folder, move into it removing stale mountpoints and files there. -[ -e fusato ] && [ ! -d fusato ] && rm -f fusato || [ ! -e fusato ] && mkdir fusato -cd fusato +[ -e build ] && [ ! -d build ] && rm -f build || [ ! -e build ] && mkdir build +cd build umount $(mount | grep "${PWD}/chroot" | tac | cut -f3 -d" ") 2>/dev/null for i in * .build ; do [ $i = cache ] && continue || rm -rf $i ; done