whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit c7c19bc: use latest lib
Date Mon, 22 Feb 2016 11:47:20 GMT
Commit c7c19bc4f3313d32750851ac2ffe5b8009e89384:
    use latest lib


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/members/nominations.cgi                                  | + 
www/members/non-participants.cgi                             | ++ -
www/members/proxy.cgi                                        | ++ 
www/members/subscriptions.cgi                                | ++ 
www/members/watch.cgi                                        | ++ 
------------------------------------------------------------
10 changes: 9 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 3bc0d47..8c6d738 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -1,4 +1,5 @@
 #!/usr/bin/ruby1.9.1
+$LOAD_PATH.unshift File.realpath(File.expand_path('../../../lib', __FILE__))
 
 require 'mail'
 require 'wunderbar'
diff --git a/www/members/non-participants.cgi b/www/members/non-participants.cgi
index db62b29..4401a24 100755
--- a/www/members/non-participants.cgi
+++ b/www/members/non-participants.cgi
@@ -1,5 +1,6 @@
 #!/usr/bin/ruby1.9.1
-$:.unshift '/srv/whimsy/lib'
+$LOAD_PATH.unshift File.realpath(File.expand_path('../../../lib', __FILE__))
+
 require 'whimsy/asf'
 require 'wunderbar'
 require 'date'
diff --git a/www/members/proxy.cgi b/www/members/proxy.cgi
index 6cfd586..aaf3d42 100755
--- a/www/members/proxy.cgi
+++ b/www/members/proxy.cgi
@@ -1,4 +1,6 @@
 #!/usr/bin/ruby1.9.1
+$LOAD_PATH.unshift File.realpath(File.expand_path('../../../lib', __FILE__))
+
 require 'wunderbar'
 require 'whimsy/asf'
 require 'date'
diff --git a/www/members/subscriptions.cgi b/www/members/subscriptions.cgi
index 53e65c1..fa208cc 100755
--- a/www/members/subscriptions.cgi
+++ b/www/members/subscriptions.cgi
@@ -1,4 +1,6 @@
 #!/usr/bin/ruby1.9.1
+$LOAD_PATH.unshift File.realpath(File.expand_path('../../../lib', __FILE__))
+
 require 'wunderbar'
 require 'whimsy/asf'
 require 'whimsy/asf/podlings'
diff --git a/www/members/watch.cgi b/www/members/watch.cgi
index 8e32fcb..d3c26da 100755
--- a/www/members/watch.cgi
+++ b/www/members/watch.cgi
@@ -1,4 +1,6 @@
 #!/usr/bin/ruby1.9.1
+$LOAD_PATH.unshift File.realpath(File.expand_path('../../../lib', __FILE__))
+
 require 'wunderbar'
 require 'whimsy/asf'
 require 'whimsy/asf/podlings'

Mime
View raw message