summaryrefslogtreecommitdiff
path: root/build64
diff options
context:
space:
mode:
Diffstat (limited to 'build64')
-rwxr-xr-xbuild6410
1 files changed, 5 insertions, 5 deletions
diff --git a/build64 b/build64
index 41bea4a..f41ab06 100755
--- a/build64
+++ b/build64
@@ -5,15 +5,15 @@ chrootpreparex64 () {
# 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
chrootstartx64
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
@@ -33,5 +33,5 @@ main () {
fi
}
-main
+main
exit 0