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 @@ -287,8 +287,12 @@ do_build() {
287287 export chroot_dir
288288 chroot_dir=$target_dir
289289
290+ if [[ ! $DEBOOTSTRAP_DIR ]]; then
291+ export DEBOOTSTRAP_DIR=" $ROOT_DIR /core/debootstrap-scripts"
292+ fi
293+
290294 if [ -n " $SUITE " ]; then
291- supported_suites=" $( ls " ${ROOT_DIR} " /core/debootstrap /scripts) "
295+ supported_suites=" $( ls $DEBOOTSTRAP_DIR /scripts) "
292296 suite_found=false
293297 for sts in $supported_suites ; do
294298 if [ " $sts " == " $SUITE " ]; then
@@ -322,10 +326,6 @@ do_build() {
322326 _debootstrap=$( which debootstrap)
323327 fi
324328
325- if ! $DEBOOTSTRAP_DIR ; then
326- DEBOOTSTRAP_DIR=" $ROOT_DIR /core/debootstrap"
327- fi
328-
329329 if [ " $BUILD_PLATFORM " == " termux" ]; then
330330 dpkg_depends_on debootstrap
331331 _debootstrap=" $( which debootstrap) "
You can’t perform that action at this time.
0 commit comments