From 3d4f38a0775d9708f73ab36ba5449a2dd3ee35f1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 28 Dec 2012 12:37:52 -0500 Subject: 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 --- bin/sisu | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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 -- cgit v1.2.3