Skip to content

Commit

Permalink
move sourcing db functions to functions/support, update #3236
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Jan 4, 2015
1 parent 844eb6a commit 5eb5e14
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/base
Expand Up @@ -104,7 +104,7 @@ load_rvm_scripts()
{
typeset -a scripts
scripts=(
selector logging db support utility init cleanup env rvmrc install environment gemset checksum list
selector logging support utility init cleanup env rvmrc install environment gemset checksum list
)

source "${rvm_scripts_path}/initialize"
Expand Down
1 change: 0 additions & 1 deletion scripts/db
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

source "${rvm_scripts_path:-$rvm_path/scripts}/functions/support"
source "${rvm_scripts_path:-$rvm_path/scripts}/functions/db"

usage()
{
Expand Down
1 change: 1 addition & 0 deletions scripts/functions/support
Expand Up @@ -281,6 +281,7 @@ __rvm_setup_utils_functions_common()
__rvm_setup_utils_functions || return $?

# detect system after setting up __rvm_sed and before setting up __rvm_statf
source "${rvm_scripts_path}/functions/db"
source "${rvm_scripts_path}/functions/detect_system"

__rvm_setup_statf_function()
Expand Down
2 changes: 1 addition & 1 deletion scripts/manage
Expand Up @@ -13,7 +13,7 @@ source "$rvm_scripts_path/patches"
source "$rvm_scripts_path/functions/build"
source "$rvm_scripts_path/functions/pkg"
source "$rvm_scripts_path/functions/irbrc"
source "$rvm_scripts_path/functions/db"
source "$rvm_scripts_path/functions/support"
source "$rvm_scripts_path/functions/rubygems"
source "$rvm_scripts_path/functions/manage/base"

Expand Down
1 change: 0 additions & 1 deletion scripts/notes
Expand Up @@ -4,7 +4,6 @@
: rvm_user_path:${rvm_user_path:="$rvm_path/user"}

source "$rvm_scripts_path/initialize"
source "$rvm_scripts_path/functions/db"
source "$rvm_scripts_path/functions/logging"
source "$rvm_scripts_path/functions/support"
source "$rvm_scripts_path/functions/utility"
Expand Down
1 change: 0 additions & 1 deletion scripts/pkg
Expand Up @@ -10,7 +10,6 @@ rvm_base_except="selector"

source "$rvm_scripts_path/base"
source "$rvm_scripts_path/functions/build"
source "$rvm_scripts_path/functions/db"
source "$rvm_scripts_path/functions/pkg"

set +o errexit
Expand Down
1 change: 0 additions & 1 deletion scripts/rubygems
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

source "$rvm_scripts_path/base"
source "$rvm_scripts_path/functions/db"
source "$rvm_scripts_path/functions/rubygems"

result=0
Expand Down

0 comments on commit 5eb5e14

Please sign in to comment.