diff options
Diffstat (limited to 'core/bin/setup_target')
-rwxr-xr-x | core/bin/setup_target | 2 |
1 files changed, 1 insertions, 1 deletions
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 |