summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHong Liu <hongl.fnst@cn.fujitsu.com>2019-01-18 11:08:59 +0800
committerKhem Raj <raj.khem@gmail.com>2019-01-19 10:06:20 -0800
commite6f9d00977ed812f130c16920cfe08971292eea1 (patch)
tree0a0fefec2a5ec8791c70c7f5bfb2288c8e579893
parent44269816b585ce08ed182be6a0d9941dc70971b4 (diff)
downloadmeta-openembedded-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>
-rw-r--r--meta-oe/recipes-extended/logwatch/logwatch_7.4.3.bb6
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 aea539ef0..275a8f238 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() {
20 install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/logfiles 20 install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/logfiles
21 install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/services 21 install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/services
22 install -m 0755 -d ${D}${localstatedir}/cache/logwatch 22 install -m 0755 -d ${D}${localstatedir}/cache/logwatch
23 mv conf/ ${D}${datadir}/logwatch/default.conf 23 cp -r -f conf/ ${D}${datadir}/logwatch/default.conf
24 mv scripts/ ${D}${datadir}/logwatch/scripts 24 cp -r -f scripts/ ${D}${datadir}/logwatch/scripts
25 mv lib ${D}${datadir}/logwatch/lib 25 cp -r -f lib ${D}${datadir}/logwatch/lib
26 chown -R root:root ${D}${datadir}/logwatch 26 chown -R root:root ${D}${datadir}/logwatch
27 27
28 install -m 0755 -d ${D}${mandir}/man1 28 install -m 0755 -d ${D}${mandir}/man1