diff --git a/scripts/common b/scripts/common index 932a2ee..5056771 100644 --- a/scripts/common +++ b/scripts/common @@ -18,6 +18,9 @@ bootstrap(){ printf -v BOOTSTRAP_STR '%q ' "${BOOTSTRAP_ARGS[@]}" setarch linux32 capsh $CAPSH_ARG -- -c "'${BOOTSTRAP_CMD}' $BOOTSTRAP_STR" || true + + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050719 + rm -f wget-log* if [ -d "$2/debootstrap" ] && ! rmdir "$2/debootstrap"; then cp "$2/debootstrap/debootstrap.log" "${STAGE_WORK_DIR}"