File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -297,11 +297,9 @@ do_build() {
297297 esac
298298 if [ " $termux_arch " != " $arch " ]; then
299299 lshout " Skipping cross architecture building for termux"
300- termux_build=false
301300 return 0
302301 else
303302 lshout " Building on Termux"
304- termux_build=true
305303 fi
306304 fi
307305
@@ -472,9 +470,11 @@ do_compress() {
472470 export chroot_dir=$1
473471 TARGET_FILE=" $( basename ${chroot_dir} ) "
474472
475- if [ " $termux_build " == " false" ]; then
476- lshout " skip compressing $chroot_dir "
477- return 0
473+ if [ " $FS_COOK_PLATFORM " == " termux" ]; then
474+ if [ ! -d " $chroot_dir " ]; then
475+ lshout " skip compressing $chroot_dir "
476+ return 0
477+ fi
478478 fi
479479
480480 if [ -n " $OVERRIDER_COMPRESSION_TYPE " ]; then
You can’t perform that action at this time.
0 commit comments