aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
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