lib/csd/application/minisip/unix/linux/debian/ubuntu10.rb in csd-0.1.13 vs lib/csd/application/minisip/unix/linux/debian/ubuntu10.rb in csd-0.1.14

- old
+ new

@@ -14,10 +14,10 @@ def fix_ubuntu_10_04 UI.info "Fixing broken Debian libraries (Ubuntu 10.04 only)".green.bold if Path.giomm_header_backup.file? and !Options.reveal UI.warn "giomm-2.4 seems to be fixed already, I won't touch it now. Delete #{Path.giomm_header_backup.enquote} to enforce it." else - Path.new_giomm_header = File.join(Dir.work, 'giomm.h') + Path.new_giomm_header = File.join(Path.work, 'giomm.h') Cmd.copy(Path.giomm_header, Path.new_giomm_header) Cmd.replace Path.new_giomm_header do |r| r.replace '#include <giomm/socket.h>', "/* ----- AI COMMENTING OUT START ----- \n#include <giomm/socket.h>" r.replace '#include <giomm/tcpconnection.h>', "#include <giomm/tcpconnection.h>\n ----- AI COMMENTING OUT END ----- */" end \ No newline at end of file