Skip to content

Commit f59dd9c

Browse files
committed
Quote the $package_manager variable.
1 parent d4514fb commit f59dd9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/ruby-install/package_manager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function install_packages()
2020
run $sudo apt install -y "$@" || return $?
2121
;;
2222
dnf|yum)
23-
run $sudo $package_manager install -y "$@" || return $?
23+
run $sudo "$package_manager" install -y "$@" || return $?
2424
;;
2525
port)
2626
run $sudo port install "$@" || return $?

0 commit comments

Comments
 (0)