aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2012-03-09 08:14:19 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-03-09 08:14:19 +0900
commit7aa69397d99fff86196c3a835551f099e4603057 (patch)
tree0ea32320ac6f569b2a1c6dec6a9b6aa86acdf46e /pbuilder-satisfydepends-funcs
parent78747b5f1081e3afa1d5e0147c4efdbd833b7d14 (diff)
downloadpbuilder-7aa69397d99fff86196c3a835551f099e4603057.tar
pbuilder-7aa69397d99fff86196c3a835551f099e4603057.tar.gz
make longer lines wrap so reading patch files aren't as painful.
Diffstat (limited to 'pbuilder-satisfydepends-funcs')
-rwxr-xr-xpbuilder-satisfydepends-funcs3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs
index bace59d..6c8dc28 100755
--- a/pbuilder-satisfydepends-funcs
+++ b/pbuilder-satisfydepends-funcs
@@ -154,7 +154,8 @@ checkbuilddep_archdeps() {
checkbuilddep_provides() {
local PACKAGENAME="$1"
# PROVIDED needs to be used outside of this function.
- PROVIDED=$($CHROOTEXEC /usr/bin/apt-cache showpkg $PACKAGENAME | awk '{p=0}/^Reverse Provides:/,/^$/{p=1}{if(p && ($0 !~ "Reverse Provides:")){PACKAGE=$1}} END{print PACKAGE}')
+ PROVIDED=$($CHROOTEXEC /usr/bin/apt-cache showpkg $PACKAGENAME \
+ | awk '{p=0}/^Reverse Provides:/,/^$/{p=1}{if(p && ($0 !~ "Reverse Provides:")){PACKAGE=$1}} END{print PACKAGE}')
}
# returns either "package=version", to append to an apt-get install line, or