From e11ca9bef2f4dc3a19c75d12ae8e4450d20975ad Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Tue, 5 Jan 2010 16:07:57 +0100 Subject: Remove leading and trailing comma + space --- pbuilder-satisfydepends-funcs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pbuilder-satisfydepends-funcs') diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs index a9d7b53..72e0b5b 100755 --- a/pbuilder-satisfydepends-funcs +++ b/pbuilder-satisfydepends-funcs @@ -93,8 +93,10 @@ get_build_deps() { local output output="`get_source_control_field "Build-Depends"`" + output="${output%, }" if [ "$BINARY_ARCH" = no ]; then output="${output:+$output, }`get_source_control_field "Build-Depends-Indep"`" + output="${output%, }" fi echo "$output" } -- cgit v1.2.3