diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-03-08 20:56:05 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-03-08 20:56:05 -0500 |
commit | fc452792bcf89e7c3c185eb5733b13900ee38a09 (patch) | |
tree | 73e61c465df2867b0fc122abb87caa1294afcfda /debian | |
parent | Merge tag 'sisu_4.0.12' into debian/sid (diff) |
debian/bin/sisu, follow bin/sisu (changes)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/bin/sisu | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/bin/sisu b/debian/bin/sisu index b14b2dfa..5b17c04a 100644 --- a/debian/bin/sisu +++ b/debian/bin/sisu @@ -136,6 +136,15 @@ WOK 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)) \ + ? (puts 'requested remote file already exists in current directory ' + Dir.pwd + ' using ' + mf) + : (system("wget #{markup_dir}/#{mf}")) + end + $sisu_document_markup_directory_base_fixed_path=Dir.pwd.gsub(/\/(?:#{lng_lst_rgx})$/,'') + argv_sub=argv_sub_mods + markup_file + SiSU::HubMaster.new(argv_sub) else p "Error directory specified #{markup_dir} not found" end end |