瀏覽代碼

Merge pull request #34229 from dodiadodia/patch-1

Update mkimage-yum.sh
Sebastiaan van Stijn 8 年之前
父節點
當前提交
885cd5fbe5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contrib/mkimage-yum.sh

+ 2 - 2
contrib/mkimage-yum.sh

@@ -81,13 +81,13 @@ fi
 if [[ -n "$install_groups" ]];
 then
     yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \
-        --setopt=group_package_types=mandatory -y groupinstall $install_groups
+        --setopt=group_package_types=mandatory -y groupinstall "$install_groups"
 fi
 
 if [[ -n "$install_packages" ]];
 then
     yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \
-        --setopt=group_package_types=mandatory -y install $install_packages
+        --setopt=group_package_types=mandatory -y install "$install_packages"
 fi
 
 yum -c "$yum_config" --installroot="$target" -y clean all