reparaçao do script de construçao da iso devuan 32 bit

This commit is contained in:
manuel 2023-10-30 09:12:40 -01:00
parent b65a9ca4ee
commit ec3e4312c7
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ build="$(pwd)"
# Create the build folder, move into it removing stale mountpoints and files there. # Create the build folder, move into it removing stale mountpoints and files there.
[ -e fusato ] && [ ! -d fusato ] && rm -f fusato || [ ! -e fusato ] && mkdir fusato [ -e build ] && [ ! -d build ] && rm -f build || [ ! -e build ] && mkdir build
cd fusato cd build
umount $(mount | grep "${PWD}/chroot" | tac | cut -f3 -d" ") 2>/dev/null umount $(mount | grep "${PWD}/chroot" | tac | cut -f3 -d" ") 2>/dev/null
for i in * .build ; do [ $i = cache ] && continue || rm -rf $i ; done for i in * .build ; do [ $i = cache ] && continue || rm -rf $i ; done