Skip to contentSkip to conversation

grep: Fix QA warnings

PATCH New Richard Purdie 1 participant 1 message Mar 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grep: Fix QA warnings

WARNING: For recipe grep, the following files/directories were installed but not shipped in any package:
WARNING: /usr/bin

---

meta/recipes-extended/grep/grep_2.9.bb +2 -1
index 9099bed..1bc79f2 100644
@@ -6,7 +6,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8006d9c814277c1bfc4ca22af94b59ee"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.gz"
 
@@ -27,6 +27,7 @@ do_install () {
 	mv ${D}${bindir}/grep ${D}${base_bindir}/grep.${PN}
 	mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep.${PN}
 	mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep.${PN}
+	rmdir ${D}${bindir}/
 }
 
 pkg_postinst_${PN} () {