diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-03-08 20:05:40 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-03-08 20:52:18 -0500 |
commit | 2f0fb40542396581325e1065e25ad31b8daee49e (patch) | |
tree | c3bb92b88b19efabfe750918e8be9d830c5eb4c4 /bin | |
parent | v4: manifest, sysenv, manifests sisupod relative link for output_by language (diff) |
v4: bin/sisu, process remote sisu markup file or sisupod, where url provided
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sisu | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |