Skip to content

Commit 0cd134a

Browse files
committed
recipes-demos: Modify copy command and remove old source path
Signed-off-by: noreng-br <[email protected]>
1 parent 63814cb commit 0cd134a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

recipes-demos/html5-demo/html5-demo_git.bb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
55
SRC_URI = "git://github.com/OSSystems/${BPN}.git;protocol=https;branch=master"
66
SRCREV = "e9ede7082b9e9e919e25b3a147d18e46dc3802f0"
77

8-
S = "${WORKDIR}/git"
8+
# Remove Workdir, since that newest versions go to ${S} directly
9+
#S = "${WORKDIR}/git"
910

1011
do_configure[noexec] = "1"
1112
do_compile[noexec] = "1"
1213

1314
do_install() {
1415
install -d ${D}${datadir}/${PN}
15-
cp -rf ${WORKDIR}/git/* ${D}${datadir}/${PN}
16+
# cp -rf ${S}/. ${D}${datadir}/${PN}
17+
# update copy to a more robust command
18+
cp -r ${S}/[!.]* ${D}${datadir}/${PN}
1619
}
1720

1821
FILES:${PN} += "${datadir}/${PN}"

0 commit comments

Comments
 (0)