Commit 96f08459 authored by Pirate Praveen's avatar Pirate Praveen

use SHELL_ROOT_PATH variable to set ROOT_PATH

parent 2823f05d
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..")) if ENV['SHELL_ROOT_PATH'].nil? || ENV['SHELL_ROOT_PATH'].empty?
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
else
ROOT_PATH = ENV['SHELL_ROOT_PATH']
end
require_relative 'gitlab_config' require_relative 'gitlab_config'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment