Skip to content

Commit

Permalink
include/package-defaults.mk: fix default Build/Prepare with empty ./src
Browse files Browse the repository at this point in the history
Copying ./src/* would fail when src exists, but is empty or only contains
hidden files.

Signed-off-by: Matthias Schiffer <[email protected]>
  • Loading branch information
neocturne committed Mar 7, 2018
1 parent f505fb0 commit 359273d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/package-defaults.mk
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Build/Patch:=$(Build/Patch/Default)
ifneq ($(strip $(PKG_UNPACK)),)
define Build/Prepare/Default
$(PKG_UNPACK)
[ ! -d ./src/ ] || $(CP) ./src/* $(PKG_BUILD_DIR)
[ ! -d ./src/ ] || $(CP) ./src/. $(PKG_BUILD_DIR)
$(Build/Patch)
endef
endif
Expand Down

0 comments on commit 359273d

Please sign in to comment.