aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-apt-config
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-25 11:38:33 +0100
committerLoïc Minier <lool@dooz.org>2010-01-25 11:38:33 +0100
commit88921aaabaf4ea6bd71605682efc34e387b66019 (patch)
treeae4708865d6919b3c46d57e5d2903a92f7dfa6ba /pbuilder-apt-config
parent71ef699b8cf270bc8bbc3d9a4376dfd42735b026 (diff)
downloadpbuilder-88921aaabaf4ea6bd71605682efc34e387b66019.tar
pbuilder-88921aaabaf4ea6bd71605682efc34e387b66019.tar.gz
Support commas to separate components and pockets
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-xpbuilder-apt-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/pbuilder-apt-config b/pbuilder-apt-config
index 9166881..7dd84a4 100755
--- a/pbuilder-apt-config
+++ b/pbuilder-apt-config
@@ -155,6 +155,9 @@ if [ -z "$suite" ] && [ -z "$profile" ]; then
die "Please pass --suite or --profile"
fi
+components="$(echo "$components" | tr , " ")"
+pockets="$(echo "$pockets" | tr , " ")"
+
if [ -n "$profile" ]; then
base_dist="${profile%%-*}"
base_vendor="`guess_dist_vendor "$base_dist"`"