diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-25 11:38:33 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-25 11:38:33 +0100 |
commit | 88921aaabaf4ea6bd71605682efc34e387b66019 (patch) | |
tree | ae4708865d6919b3c46d57e5d2903a92f7dfa6ba /pbuilder-apt-config | |
parent | 71ef699b8cf270bc8bbc3d9a4376dfd42735b026 (diff) | |
download | pbuilder-88921aaabaf4ea6bd71605682efc34e387b66019.tar pbuilder-88921aaabaf4ea6bd71605682efc34e387b66019.tar.gz |
Support commas to separate components and pockets
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-x | pbuilder-apt-config | 3 |
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"`" |