Rakefile in sensible-cinema-0.24.1 vs Rakefile in sensible-cinema-0.24.2
- old
+ new
@@ -135,10 +135,14 @@
p 'copying to ilab'
sys "scp #{name} rdp@ilab1.cs.byu.edu:~/incoming"
p 'creating sf shell'
sys "ssh rdp@ilab1.cs.byu.edu 'ssh rogerdpack,sensible-cinema@shell.sourceforge.net create'" # needed for the next command to be able to work [weird]
p 'creating sf dir'
- sys "ssh rdp@ilab1.cs.byu.edu 'ssh rogerdpack,sensible-cinema@shell.sourceforge.net \"mkdir /home/frs/project/s/se/sensible-cinema/#{cur_ver}\"'"
+ begin
+ sys "ssh rdp@ilab1.cs.byu.edu 'ssh rogerdpack,sensible-cinema@shell.sourceforge.net \"mkdir /home/frs/project/s/se/sensible-cinema/#{cur_ver}\"'"
+ rescue => ok_if_dir_already_existing
+ puts 'warning--dir already existing?' + ok_if_dir_already_existing.to_s
+ end
p 'copying into sf from ilab'
sys "ssh rdp@ilab1.cs.byu.edu 'scp ~/incoming/#{name} rogerdpack,sensible-cinema@frs.sourceforge.net:/home/frs/project/s/se/sensible-cinema/#{cur_ver}/#{name}'"
p 'successfully deployed to sf only! ' + cur_ver
end