aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-classic
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-05 16:13:03 +0100
committerLoïc Minier <lool@dooz.org>2010-01-05 16:13:03 +0100
commit30fbb4ee6fc71ea69ba7bd16441a9be46a53b456 (patch)
treead59115ff3009e3526ee55b516e8080d7354c2d2 /pbuilder-satisfydepends-classic
parentc7f3bdfd896bbe42a0885c6ae7a1c5ed830bf68a (diff)
downloadpbuilder-30fbb4ee6fc71ea69ba7bd16441a9be46a53b456.tar
pbuilder-30fbb4ee6fc71ea69ba7bd16441a9be46a53b456.tar.gz
Fix extra slashes in split_deps() output
Diffstat (limited to 'pbuilder-satisfydepends-classic')
-rwxr-xr-xpbuilder-satisfydepends-classic2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-classic b/pbuilder-satisfydepends-classic
index 280ae80..899f5f2 100755
--- a/pbuilder-satisfydepends-classic
+++ b/pbuilder-satisfydepends-classic
@@ -31,7 +31,7 @@ export PBUILDER_PKGLIBDIR="${PBUILDER_PKGLIBDIR:-$PBUILDER_ROOT/usr/lib/pbuilder
# first as to iterate on deps with "for"; e.g. "foo, bar | baz", "foobar (>=
# 2)" becomes "foo", "bar/|/baz", "foobar/(>=/2)"
split_deps() {
- tr " " "/" | awk 'BEGIN{RS=","} {print}'
+ sed 's#, *#\n#g; s# #/#g'
}
# and build-conflicts