LP#1693851: Use relative paths in Perl support scripts user/jeffdavis/lp1693851-support-scripts-hardcoded-paths
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 26 May 2017 17:05:58 +0000 (10:05 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 26 May 2017 17:05:58 +0000 (10:05 -0700)
Most Perl support scripts that require oils_header.pl use a relative
path to locate that file.  This commit updates the exceptions, so that
all Perl scripts use a consistent convention to require oils_header.pl.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Open-ILS/src/support-scripts/rollover_phone_to_print.pl
Open-ILS/src/support-scripts/set_pbx_holidays.pl

index c5da523..088b151 100755 (executable)
@@ -10,7 +10,7 @@
 #
 # Search further in this file for 'CONFIGURE HERE'.
 
-require "/openils/bin/oils_header.pl";
+require "oils_header.pl";
 
 use strict;
 use warnings;
index 15483c0..6113a1a 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-require "/openils/bin/oils_header.pl";
+require "oils_header.pl";
 
 use strict;
 use warnings;