Skip to content

Commit 00364cf

Browse files
committed
profile.mk: do not fail if a profile's root contains more than one subdirectory
1 parent 4523542 commit 00364cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

profile.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ endif
4444
define Package/$(PKG_NAME)/install
4545
$(INSTALL_DIR) $(1)/
4646
# check if root/ directory exists before copying
47-
if [ -e ./root/* ]; then $(CP) -r ./root/* $(1)/; fi
47+
if [ -e ./root/ ]; then $(CP) -r ./root/* $(1)/; fi
4848
endef
4949

5050
define Build/Compile

0 commit comments

Comments
 (0)