Skip to content

Commit 3622758

Browse files
fix: do not set BUILD_PLATFORM for termux platform.
1 parent f58b335 commit 3622758

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/envsetup

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ do_build() {
288288
chroot_dir=$target_dir
289289

290290
if [[ ! $DEBOOTSTRAP_DIR ]]; then
291-
export DEBOOTSTRAP_DIR="$ROOT_DIR/core/debootstrap-scripts"
291+
if [ "$BUILD_PLATFORM" != "termux" ]; then
292+
export DEBOOTSTRAP_DIR="$ROOT_DIR/core/debootstrap-scripts"
293+
fi
292294
fi
293295

294296
if [ -n "$SUITE" ]; then

0 commit comments

Comments
 (0)