summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-08 02:32:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-08 02:32:23 (GMT)
commitedb83a773085e2fd273f6f8d547748fe6127820d (patch)
tree91ca51e683fc8b34f288a6165b360f4b62ea735e /build_tools
parent285b35a71b7d6852568bba275cad50c5ed5edb96 (diff)
downloadlinhes_dev-edb83a773085e2fd273f6f8d547748fe6127820d.zip
mp: modify mp to look for exact pkgname. This will cut down on the false postives.
for instance mythtv-vdpau vs mythtv Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/bin/mp2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/bin/mp b/build_tools/bin/mp
index 151980c..5194d75 100755
--- a/build_tools/bin/mp
+++ b/build_tools/bin/mp
@@ -124,7 +124,7 @@ function dup_check {
do
if [ ! $i$PFIX = $REPO ]
then
- out=`pacman -Sl $i$PFIX|grep $pkgname`
+ out=`pacman -Sl $i$PFIX|cut -d" " -f2 |grep $pkgname$`
if [ $? = 0 ]
then
echo "#######################################"