scripts/db in rvm-0.1.27 vs scripts/db in rvm-0.1.29

- old
+ new

@@ -5,16 +5,16 @@ if [[ ! -f "$database_file" ]] ; then mkdir -p $(dirname $database_file) touch $database_file fi else - echo "usage: $0 database key [value]" + echo "Database file $1 does not exist." >&2 exit 1 fi key="$1" ; shift if [[ -z "$key" ]] ; then - echo "usage: $0 database key [value]" + echo "usage: $0 database key [value]" >&2 exit 1 else value="$*" if [[ "unset" = "$value" ]] || [[ "delete" = "$value" ]] ; then sed -i.tmp "s#^$key=.*\$##" $database_file