diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-05 16:07:57 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-05 16:07:57 +0100 |
commit | e11ca9bef2f4dc3a19c75d12ae8e4450d20975ad (patch) | |
tree | 74b1749b57f739ca782e1e459117ba148d837038 /pbuilder-satisfydepends-funcs | |
parent | d6a0c77f589f4ad1a0a5029bfdfa87d61c396477 (diff) | |
download | pbuilder-e11ca9bef2f4dc3a19c75d12ae8e4450d20975ad.tar pbuilder-e11ca9bef2f4dc3a19c75d12ae8e4450d20975ad.tar.gz |
Remove leading and trailing comma + space
Diffstat (limited to 'pbuilder-satisfydepends-funcs')
-rwxr-xr-x | pbuilder-satisfydepends-funcs | 2 |
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" } |