Skip to content

Commit a0182af

Browse files
committed
Explicitly set $ruby_version to "" if no version number is given.
1 parent 2ef953d commit a0182af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

share/ruby-install/ruby-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ function parse_ruby()
9595
;;
9696
*)
9797
ruby="$string"
98+
ruby_version=""
9899
;;
99100
esac
100101

0 commit comments

Comments
 (0)