summaryrefslogtreecommitdiff
path: root/net/foreman-proxy/files/patch-bin-smart-proxy
blob: 01f0fac5fdc92a3d89d5ce398e283734952ca959 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- 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', __dir__), File.expand_path('../modules', __dir__)])
+$LOAD_PATH.unshift(*Dir["%%DATADIR%%/lib", "%%DATADIR%%/modules"])
 
 require 'smart_proxy_main'
 Proxy::Launcher.new.launch