We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2a5b39 commit 357fe91Copy full SHA for 357fe91
2 files changed
share/ruby-install/functions.sh
@@ -19,7 +19,10 @@ function load_dependencies_from()
19
{
20
local file="$1"
21
22
- ruby_dependencies=($(fetch "$ruby/$file" "$package_manager" || return $?))
+ ruby_dependencies=()
23
+ while IFS='' read -r line; do
24
+ ruby_dependencies+=("$line");
25
+ done < <(fetch "$ruby/$file" "$package_manager" || return $?)
26
}
27
28
#
share/ruby-install/package_manager.sh
@@ -41,7 +41,10 @@ function install_packages()
41
run $brew_sudo brew upgrade "$@" || return $?
42
;;
43
pacman)
44
- local missing_pkgs=($(pacman -T "$@"))
+ local missing_pkgs=()
45
46
+ missing_pkgs+=("$line");
47
+ done < <(pacman -T "$@")
48
49
if (( ${#missing_pkgs[@]} > 0 )); then
50
run $sudo pacman -S "${missing_pkgs[@]}" || return $?
0 commit comments