Permalink
Browse files

fix the bug where yum only installs one package at a time

  • Loading branch information...
1 parent 0472428 commit 99afae69737a028c41c7b92ad690df879955b124 @erikogan erikogan committed Dec 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 rpm/release/mocksetup-first.sh
@@ -69,7 +69,7 @@ if [[ "$run_setup" = "1" || ! $in_mock_group == 1 || ${#yum_pkgs[@]} != 0 ]] ; t
read
if [[ ! $mock_installed == 1 || ! $createrepo_installed == 1 ]] ; then
- sudo yum -y install $yum_pkgs
+ sudo yum -y install "${yum_pkgs[@]}"
fi
if [[ ! "$in_mock_group" == "1" ]] ; then
sudo usermod -a -G mock $USER

0 comments on commit 99afae6

Please sign in to comment.