aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-satisfydepends-funcs2
1 files changed, 2 insertions, 0 deletions
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"
}