reparaçao do script de construçao da iso devuan 32 bit
This commit is contained in:
parent
b65a9ca4ee
commit
ec3e4312c7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue