aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-12-28 12:37:52 -0500
committerRalph Amissah <ralph@amissah.com>2012-12-28 12:37:52 -0500
commit3d4f38a0775d9708f73ab36ba5449a2dd3ee35f1 (patch)
treecd6c3f0151b77389903bedd615b0e84c2c949dbd /lib
parentv4 v3: largely cosmetic (diff)
v4: bin/sisu sysenv, rc_path_options, provide fixed path to rc files
* added $sisu_document_markup_directory_base_fixed_path * needed to read right sisurc.yml & sisu_document_make
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v4/sysenv.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sisu/v4/sysenv.rb b/lib/sisu/v4/sysenv.rb
index f1dfdb16..f41417fa 100644
--- a/lib/sisu/v4/sysenv.rb
+++ b/lib/sisu/v4/sysenv.rb
@@ -284,10 +284,10 @@ module SiSU_Env
end
def rc_path_options
@rc_path=[
- "#{$sisu_document_markup_directory}/.sisu/#{SiSU_version_dir}",
- "#{$sisu_document_markup_directory}/.sisu",
- "#{$sisu_document_markup_directory}/_sisu/#{SiSU_version_dir}",
- "#{$sisu_document_markup_directory}/_sisu",
+ "#{$sisu_document_markup_directory_base_fixed_path}/.sisu/#{SiSU_version_dir}",
+ "#{$sisu_document_markup_directory_base_fixed_path}/.sisu",
+ "#{$sisu_document_markup_directory_base_fixed_path}/_sisu/#{SiSU_version_dir}",
+ "#{$sisu_document_markup_directory_base_fixed_path}/_sisu",
"#{@@home}/.sisu/#{SiSU_version_dir}",
"#{@@home}/.sisu",
"#{@@sisu_etc}/#{SiSU_version_dir}",
@@ -361,10 +361,10 @@ module SiSU_Env
tell_no_yaml='WARNING - YAML loading switched off, to enable delete the file:'
if @markup_dir_changed_
@ad_path=[
- "#{$sisu_document_markup_directory}/.sisu/#{SiSU_version_dir}/skin/yml",
- "#{$sisu_document_markup_directory}/.sisu/skin/yml",
- "#{$sisu_document_markup_directory}/_sisu/#{SiSU_version_dir}/skin/yml",
- "#{$sisu_document_markup_directory}/_sisu/skin/yml",
+ "#{$sisu_document_markup_directory_base_fixed_path}/.sisu/#{SiSU_version_dir}/skin/yml",
+ "#{$sisu_document_markup_directory_base_fixed_path}/.sisu/skin/yml",
+ "#{$sisu_document_markup_directory_base_fixed_path}/_sisu/#{SiSU_version_dir}/skin/yml",
+ "#{$sisu_document_markup_directory_base_fixed_path}/_sisu/skin/yml",
"#{@@home}/.sisu/#{SiSU_version_dir}/skin/yml",
"#{@@home}/.sisu/skin/yml",
"#{@@sisu_etc}/#{SiSU_version_dir}/skin/yml",