summaryrefslogtreecommitdiff
path: root/build32
diff options
context:
space:
mode:
Diffstat (limited to 'build32')
-rwxr-xr-xbuild328
1 files changed, 4 insertions, 4 deletions
diff --git a/build32 b/build32
index 7c84de6..01729b9 100755
--- a/build32
+++ b/build32
@@ -5,15 +5,15 @@ chrootpreparex86 () {
# if safe, trigger start && break the loop to build packages
# else trigger stop && cleanup && check again
while : true ; do
- if [[ ! -d "$rodir" && ! -d "$rwdir" && ! -d "$overlaydir" ]] ; then
- for i in "$rodir" "$rwdir" "$overlaydir" ; do
+ if [[ ! -d "$rodir" && ! -d "$rwdir" && ! -d "$workdir" && ! -d "$overlaydir" ]] ; then
+ for i in "$rodir" "$rwdir" "$workdir" "$overlaydir" ; do
mkdir "$i"
done
chrootstartx86
break
- elif [[ -d "$rodir" && -d "$rwdir" && -d "$overlaydir" ]] ; then
+ elif [[ -d "$rodir" && -d "$rwdir" && -d "$workdir" && -d "$overlaydir" ]] ; then
chrootstop
- for i in "$rodir" "$rwdir" "$overlaydir" ; do
+ for i in "$rodir" "$rwdir" "$workdir" "$overlaydir" ; do
rm -rf "$i"
done
continue