aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-03-08 20:55:21 -0500
committerRalph Amissah <ralph@amissah.com>2013-03-08 20:55:21 -0500
commitbb9f9d8e19d53a21f9154a2dad3c6ea46f6ff547 (patch)
tree63827d1bfc6feb186f9df1053e223a86027b94c6 /bin
parentdebian/changelog (4.0.11-1) (diff)
parentv4: version & changelog, dates touched (diff)
Merge tag 'sisu_4.0.12' into debian/sid
SiSU 4.0.12
Diffstat (limited to 'bin')
-rw-r--r--bin/sisu9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/sisu b/bin/sisu
index daa2a48d..ee4e1369 100644
--- a/bin/sisu
+++ b/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