reverse-build-depends: add -X to grep-dctrl so that it works with exact matches only

This commit is contained in:
Cesare Tirabassi 2008-09-19 22:59:14 +02:00
parent e1138e8482
commit 6243ae5c18
2 changed files with 10 additions and 1 deletions

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
ubuntu-dev-tools (0.46ubuntu1) UNRELEASED; urgency=low
[ Cesare Tirabassi ]
* reverse-build-depends:
- add -X option to grep-dctrl so that it only works with exact matches
(LP: #272273).
-- Cesare Tirabassi <norsetto@ubuntu.com> Fri, 19 Sep 2008 22:55:45 +0200
ubuntu-dev-tools (0.45ubuntu1) intrepid; urgency=low
[ Siegfried-Angel Gevatter Pujals ]

View File

@ -54,7 +54,7 @@ then
fi
result=$(
grep-dctrl -sPackage -F Build-Depends,Build-Depends-Indep $1 \
grep-dctrl -X -sPackage -F Build-Depends,Build-Depends-Indep $1 \
/var/lib/apt/lists/*Sources | cut -d ' ' -f 2)
if [ -z $count ] && [ -z $single_line ]