From 2767a8c01b62ba1f3b7b4232ad6824744fe3b348 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 23 Jul 2021 15:30:38 +0200 Subject: [xorg] Fix move --- core/bin/setup_target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/bin') diff --git a/core/bin/setup_target b/core/bin/setup_target index 8574ceae..9022c732 100755 --- a/core/bin/setup_target +++ b/core/bin/setup_target @@ -538,7 +538,7 @@ process_module() { if [ ! -e "$BUILD_FLAG" ]; then list_packet_files > "$PKG_CONTENT_FILE" || perror "Could not write packet content list to $PKG_CONTENT_FILE" # Copy all required packages' contents to build dir, but not in install mode - if [ -z "$MLTK_INSTALL" ]; then + if [ -z "$MLTK_INSTALL" ] && [ -s "$PKG_CONTENT_FILE" ]; then pinfo "## Copying required packages to build dir" tarcopy "$( sort -u "$PKG_CONTENT_FILE" )" "${MODULE_BUILD_DIR}" fi -- cgit v1.2.3-55-g7522