scripts/db in rvm-0.1.36 vs scripts/db in rvm-0.1.37

- old
+ new

@@ -26,10 +26,10 @@ value="$*" if [[ "unset" = "$value" ]] || [[ "delete" = "$value" ]] ; then sed -i.tmp "s#^$key=.*\$##" $database_file else if [[ -z "$value" ]] ; then # get - awk -F= '/^'"$key"'=/{print $2}' $database_file + awk -F= '/^'"$key"'=/' $database_file | sed "s#^$key=##" else # set if [[ -z "$(awk -F= "/^'"$key"'=/{print $2}" $database_file)" ]] ; then # append echo "$key=$value" >> $database_file else # overwrite sed -i.tmp "s#^$key=.*\$#$key=$value#" $database_file