Skip to content
Browse files

New perl paths

  • Loading branch information...
1 parent 3446ab4 commit add3159b0ac0305db0acb4eccf57973699d50f73 @frabcus frabcus committed Feb 4, 2010
View
2 bin/connections-graph
@@ -15,7 +15,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use mySociety::Config;
BEGIN {
View
2 bin/etienne-pdf
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../perllib -I../../perllib
+#!/usr/bin/perl -w -I../perllib -I../commonlib/perllib
use strict;
use PB::PDF;
View
2 bin/find-pledge-connections
@@ -19,7 +19,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use mySociety::Config;
BEGIN {
View
2 bin/graphs-clean
@@ -15,7 +15,7 @@ require 5.8.0;
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use File::Find qw(find);
use File::stat;
View
2 bin/import-ican-categories
@@ -16,7 +16,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use HTML::Entities;
use LWP::Simple qw(get);
View
2 bin/lookup-coordinates
@@ -18,7 +18,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use Error qw(:try);
use Geography::NationalGrid;
View
2 bin/migrate-to-location-table
@@ -17,7 +17,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use mySociety::Config;
BEGIN {
View
2 bin/mobile-merge-person
@@ -15,7 +15,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use Data::Dumper;
use mySociety::Config;
View
2 bin/pbsmsd
@@ -24,7 +24,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use DateTime::Format::Strptime;
use Encode;
View
2 bin/person-merge-by-case
@@ -15,7 +15,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use mySociety::Config;
BEGIN {
View
2 bin/pledge-make-person-refs
@@ -15,7 +15,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use mySociety::Config;
BEGIN {
View
2 bin/signer-make-person-refs
@@ -15,7 +15,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use mySociety::Config;
BEGIN {
View
4 bin/test-mailin
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../../perllib
+#!/usr/bin/perl -w -I../commonlib/perllib
#
# test-mailin:
# Receives incoming mail for the test harness, and stores it in the database
@@ -15,7 +15,7 @@
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
chdir $FindBin::Bin;
use File::Slurp;
View
2 bin/test-run
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../../perllib
+#!/usr/bin/perl -w -I../commonlib/perllib
#
# test-run:
# Test harness for PledgeBank. Makes sure we haven't broken the code.
View
2 web/byarea-map.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../perllib -I../../perllib
+#!/usr/bin/perl -w -I../perllib -I../commonlib/perllib
#
# byarea-map.cgi:
#
View
2 web/c360smsin.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../perllib -I../../perllib
+#!/usr/bin/perl -w -I../perllib -I../commonlib/perllib
#
# c360smsin.cgi:
# Process received SMS messages.
View
2 web/fuzzyref.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../perllib -I../../perllib
+#!/usr/bin/perl -w -I../perllib -I../commonlib/perllib
#
# fuzzyref.cgi:
# Bogus pledge ref fuzzy match.
View
2 web/graph.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../perllib -I../../perllib
+#!/usr/bin/perl -w -I../perllib -I../commonlib/perllib
#
# graph.cgi:
# Draw graphs of pledge progress.
View
2 web/ref-rsscomments.cgi
@@ -14,7 +14,7 @@ require 5.8.0;
# Horrible boilerplate to set up appropriate library paths.
use FindBin;
use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../../perllib";
+use lib "$FindBin::Bin/../commonlib/perllib";
use mySociety::Config;
BEGIN {
View
2 web/test-sms.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w -I../perllib -I../../perllib
+#!/usr/bin/perl -w -I../perllib -I../commonlib/perllib
#
# test-smsin.cgi:
#

0 comments on commit add3159

Please sign in to comment.
Something went wrong with that request. Please try again.