aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-05 16:07:57 +0100
committerLoïc Minier <lool@dooz.org>2010-01-05 16:07:57 +0100
commite11ca9bef2f4dc3a19c75d12ae8e4450d20975ad (patch)
tree74b1749b57f739ca782e1e459117ba148d837038 /pbuilder-satisfydepends-funcs
parentd6a0c77f589f4ad1a0a5029bfdfa87d61c396477 (diff)
downloadpbuilder-e11ca9bef2f4dc3a19c75d12ae8e4450d20975ad.tar
pbuilder-e11ca9bef2f4dc3a19c75d12ae8e4450d20975ad.tar.gz
Remove leading and trailing comma + space
Diffstat (limited to 'pbuilder-satisfydepends-funcs')
-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"
}