Adding chruby support

This commit is contained in:
Valdos Sine committed 2016-01-04 00:16:49 +03:00
1 parent e284e32b74
commit 2840fc8c08
2 files changed
+14

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
# chruby in use?
USE_CHRUBY=0
# Path to chruby scripts.
CHRUBY_PATH="/usr/share/chruby"
+10
View File
@@ -0,0 +1,10 @@
# chruby sourcing.
# This exports should work only if config states this.
if [ "${USE_CHRUBY}" -eq 0 ]; then
return
fi
export CHRUBY_ROOT="${CHRUBY_PATH}"
source "${CHRUBY_ROOT}/chruby.sh"
source "${CHRUBY_ROOT}/auto.sh"