diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-05-12 23:23:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-05-12 23:23:10 -0400 |
commit | 54c4f8c8e4a952ea48a0c9969ff333eb7a514dcf (patch) | |
tree | 82facf3c312f7147e3a162cd2743c00f9d3061f7 /bin | |
parent | debian/changelog (5.3.4-1) (diff) | |
parent | documentation, notes, update (diff) |
Merge tag 'sisu_5.3.5' into debian/sid
SiSU 5.3.5
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sisu | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,7 +21,7 @@ class Orient self end def sisu_called_from_directory - Dir.pwd + @@sisu_called_from_directory ||= Dir.pwd end def sisu_run_from if processing.called_as == processing.file_full_path \ @@ -221,8 +221,6 @@ class Orient Dir.chdir(markup_dir) $sisu_document_markup_directory_base_fixed_path=Dir.pwd.gsub(/\/(?:#{language_list.regex})$/,'') SiSU::HubMaster.new(argv_sub) - Dir.chdir(sisu_called_from_directory) - system("cd #{sisu_called_from_directory}") elsif markup_dir =~/https?:/ markup_file.each do |mf| (FileTest.file?(mf)) \ @@ -234,6 +232,8 @@ class Orient SiSU::HubMaster.new(argv_sub) else p "Error directory specified #{markup_dir} not found" end + Dir.chdir(sisu_called_from_directory) + system("cd #{sisu_called_from_directory}") end else $sisu_document_markup_directory=Dir.pwd.gsub(/\/$/,'') |