diff options
author | Hong Liu <hongl.fnst@cn.fujitsu.com> | 2019-01-18 11:08:59 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-01-19 10:06:20 -0800 |
commit | e6f9d00977ed812f130c16920cfe08971292eea1 (patch) | |
tree | 0a0fefec2a5ec8791c70c7f5bfb2288c8e579893 /meta-oe/recipes-extended | |
parent | 44269816b585ce08ed182be6a0d9941dc70971b4 (diff) | |
download | meta-openembedded-contrib-e6f9d00977ed812f130c16920cfe08971292eea1.tar.gz |
logwatch:replace mv with cp
1.Mv is used in the original code, which may cause "mv: cannot stat 'conf/': No such file or directory".
So we use cp instead of it.
Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/logwatch/logwatch_7.4.3.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/logwatch/logwatch_7.4.3.bb b/meta-oe/recipes-extended/logwatch/logwatch_7.4.3.bb index aea539ef0cc..275a8f238ce 100644 --- a/meta-oe/recipes-extended/logwatch/logwatch_7.4.3.bb +++ b/meta-oe/recipes-extended/logwatch/logwatch_7.4.3.bb @@ -20,9 +20,9 @@ do_install() { install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/logfiles install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/services install -m 0755 -d ${D}${localstatedir}/cache/logwatch - mv conf/ ${D}${datadir}/logwatch/default.conf - mv scripts/ ${D}${datadir}/logwatch/scripts - mv lib ${D}${datadir}/logwatch/lib + cp -r -f conf/ ${D}${datadir}/logwatch/default.conf + cp -r -f scripts/ ${D}${datadir}/logwatch/scripts + cp -r -f lib ${D}${datadir}/logwatch/lib chown -R root:root ${D}${datadir}/logwatch install -m 0755 -d ${D}${mandir}/man1 |