aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-classic
diff options
context:
space:
mode:
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 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