From 41a71971be1911b46c4e77fa824a1ed4e782b6c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Tue, 5 Jan 2010 16:18:03 +0100 Subject: Fix extra spaces 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 899f5f2..2559324 100755 --- a/pbuilder-satisfydepends-classic +++ b/pbuilder-satisfydepends-classic @@ -38,7 +38,7 @@ split_deps() { # splits build-dep with alternates into one alternate per line; e.g. "foo|bar" # becomes "foo", "bar" split_alternates() { - echo "$*" | awk 'BEGIN{RS="|"} {print}' + echo "$*" | sed 's/ *| */\n/g' } # filters package name out of a "/" escaped simple build-dep, possibly with -- cgit v1.2.3