Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on May 01, 2012
seliquity seliquity Fixed detection bug
wifi_service being saved with trailing \n and not being interpolated
casing install to fail.
e28df31
Nick Sieger Merge pull request #16 from seliquity/master
Installation bugfix
f29527f
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sheepsafe/installer.rb
4 lib/sheepsafe/installer.rb
View
@@ -92,8 +92,8 @@ def setup_network_location
if agree "Next, I'll set up the SOCKS proxy in the \"Untrusted\" location for you. OK\? (yes/no)\n"
system "networksetup -switchtolocation Untrusted"
- wifi_service = `networksetup -listallnetworkservices`.lines.detect {|l| l[/(AirPort|Wi-Fi)/, 1] }
- system "networksetup -setsocksfirewallproxy wifi_service localhost #{config.socks_port}"
+ wifi_service = `networksetup -listallnetworkservices`.lines.detect {|l| l[/(AirPort|Wi-Fi)/, 1] }.gsub(/\n/,'')
+ system "networksetup -setsocksfirewallproxy \"#{wifi_service}\" localhost #{config.socks_port}"
end
end

No commit comments for this range

Something went wrong with that request. Please try again.