Permalink
Browse files

set rvm_tar and rvm_uname.

  • Loading branch information...
ajiwo authored and mpapis committed Feb 1, 2012
1 parent b35dbec commit 91d943f58a472259bc819aa73bacc0b399434f1f
Showing with 12 additions and 0 deletions.
  1. +12 −0 binscripts/rvm
View
@@ -24,6 +24,18 @@ then
unset rvmrc
fi
+export rvm_tar
+export rvm_uname
+rvm_uname=$(uname)
+case "$rvm_uname" in
+ OpenBSD)
+ rvm_tar=gtar
+ ;;
+ *)
+ rvm_tar=tar
+ ;;
+esac
+
export rvm_path
if [[ -z "${rvm_path:-}" ]]
then

0 comments on commit 91d943f

Please sign in to comment.