aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v6/options.rb')
-rw-r--r--lib/sisu/v6/options.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v6/options.rb b/lib/sisu/v6/options.rb
index 1850c6d4..eed42e51 100644
--- a/lib/sisu/v6/options.rb
+++ b/lib/sisu/v6/options.rb
@@ -164,8 +164,7 @@ module SiSU_Commandline
@dir_structure_by=SiSU_Env::EnvCall.new.output_dir_structure.by?
@lingual=SiSU_Env::EnvCall.new.mono_multi_lingual?
@call_path=call_path
- @base_path=
- call_path.gsub(/(^|\/)(?:#{Px[:lng_lst_rgx]})$/,'')
+ @base_path=SiSU_Utils::Path.new.base_markup(call_path)
r=Px[:lng_lst_rgx]
u=/.+?\/([^\/]+)(?:\/(?:#{r})$|$)/
@base_stub=@base_path.gsub(u,'\1')