diff options
author | James Meyer <james.meyer@operamail.com> | 2009-06-08 02:32:23 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-06-08 02:32:23 (GMT) |
commit | edb83a773085e2fd273f6f8d547748fe6127820d (patch) | |
tree | 91ca51e683fc8b34f288a6165b360f4b62ea735e /build_tools/bin/mp | |
parent | 285b35a71b7d6852568bba275cad50c5ed5edb96 (diff) | |
download | linhes_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/bin/mp')
-rwxr-xr-x | build_tools/bin/mp | 2 |
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 "#######################################" |