From 30fbb4ee6fc71ea69ba7bd16441a9be46a53b456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Tue, 5 Jan 2010 16:13:03 +0100 Subject: Fix extra slashes in split_deps() output --- pbuilder-satisfydepends-classic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-satisfydepends-classic') 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 -- cgit v1.2.3