diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-12-28 12:37:52 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-12-28 12:37:52 -0500 |
commit | 3d4f38a0775d9708f73ab36ba5449a2dd3ee35f1 (patch) | |
tree | cd6c3f0151b77389903bedd615b0e84c2c949dbd /bin | |
parent | v4 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/sisu | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |