aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
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 /bin
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 'bin')
-rw-r--r--bin/sisu2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sisu b/bin/sisu
index f8123e8c..44e21281 100644
--- a/bin/sisu
+++ b/bin/sisu
@@ -138,6 +138,7 @@ WOK
if FileTest.directory?(markup_dir)
system("cd #{markup_dir}")
Dir.chdir(markup_dir)
+ $sisu_document_markup_directory_base_fixed_path=Dir.pwd.gsub(/\/(?:#{lng_lst_rgx})$/,'')
SiSU::HubMaster.new(argv_sub)
Dir.chdir(SiSU_called_from_directory)
system("cd #{SiSU_called_from_directory}")
@@ -146,6 +147,7 @@ WOK
end
else
$sisu_document_markup_directory=Dir.pwd.gsub(/\/$/,'')
+ $sisu_document_markup_directory_base_fixed_path=Dir.pwd.gsub(/(^|\/)(?:#{lng_lst_rgx})$/,'')
SiSU::HubMaster.new(argv)
end
rescue