From: Thierry Parmentelat Date: Fri, 9 Oct 2009 14:57:10 +0000 (+0000) Subject: mkfedora to use the same convention for group names with +++ X-Git-Tag: 4.3-rc13~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=309f7b7c41bd14cc1dbffca5b38bf34c20141261;p=build.git mkfedora to use the same convention for group names with +++ --- diff --git a/build.common b/build.common index 9c6302b0..4cd00d40 100644 --- a/build.common +++ b/build.common @@ -390,10 +390,11 @@ fi if [ -n "$pkgs_groups" ] ; then ## call yum sequentially to get finer-grained info on dependencies - for grp in $pkgs_groups ; do - echo "* Installing optional group $grp" + for group_plus in $pkgs_groups ; do + group=$(echo $group_plus | sed -e "s,+++, ,g") + echo "* Installing optional group $group" # ignore yum's return code that is basically undefined - yum $yum_options $exclude_arg groupinstall "$grp" || : + yum $yum_options $exclude_arg groupinstall "$group" || : done fi