opnsense-ports/net/foreman-proxy/files/patch-bin-smart-proxy
Franco Fichtner 4a0a2cc590 */*: sync with upstream
Taken from: FreeBSD
2017-05-20 15:18:08 +02:00

10 lines
346 B
Text

--- bin/smart-proxy.orig 2017-05-08 15:18:42 UTC
+++ bin/smart-proxy
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift(*Dir[File.expand_path("../../lib", __FILE__), File.expand_path("../../modules", __FILE__)])
+$LOAD_PATH.unshift(*Dir["%%DATADIR%%/lib", "%%DATADIR%%/modules"])
require 'smart_proxy_main'
Proxy::Launcher.new.launch