diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-07-22 21:44:23 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-07-22 21:45:48 -0400 |
commit | 67533e4eb69e717533a5ca73440f644b9585bce4 (patch) | |
tree | f9ecac0d5509e38993a80e52cc82198011d21825 /lib/sisu/v5/se_info_system.rb | |
parent | v5 v6: sysenv, reorganise, break up file, multiple se_* files (diff) |
v5 v6: sysenv, revert to use of stub_pwd to correct hub post processing behavior
* revert to use of stub_pwd (instead of preferred base_markup_dir_stub
introduced in 5.5.1) to bring back correct hub (post) processing behavior
Diffstat (limited to 'lib/sisu/v5/se_info_system.rb')
-rw-r--r-- | lib/sisu/v5/se_info_system.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v5/se_info_system.rb b/lib/sisu/v5/se_info_system.rb index e932e264..7f0e7a00 100644 --- a/lib/sisu/v5/se_info_system.rb +++ b/lib/sisu/v5/se_info_system.rb @@ -76,10 +76,11 @@ module SiSU_Info_Sys_Gen share=Config::CONFIG['datadir'] + '/sisu' data=Config::CONFIG['datadir'] + '/doc/sisu' m=/.+\/(?:src\/)?(\S+)/m # m=/.+?\/(?:src\/)?([^\/]+)$/im # m=/.+\/(\S+)/m + @stub_pwd ||=@@pwd[m,1] @base_markup_dir_stub=SiSU_Utils::Path.new.base_markup_stub prcss_dir='_sisu_processing_' + '.' + SiSU_is[:version_dir] prcss_dir_tmp_root="/tmp/#{prcss_dir}" - prcss_dir_stub="#{prcss_dir}/#{@base_markup_dir_stub}" + prcss_dir_stub="#{prcss_dir}/#{@stub_pwd}" if @@user tmp_processing="#{prcss_dir_tmp_root}/#{@@user}/#{@base_markup_dir_stub}" tmp_processing_individual="#{prcss_dir_tmp_root}/#{@@user}/#{@base_markup_dir_stub}" |