From: Jeff Davis Date: Fri, 26 May 2017 17:05:58 +0000 (-0700) Subject: LP#1693851: Use relative paths in Perl support scripts X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f265cb1cd5bf9126ecd34738d98ecfdf1a9f41f6;p=working%2FEvergreen.git LP#1693851: Use relative paths in Perl support scripts 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 --- diff --git a/Open-ILS/src/support-scripts/rollover_phone_to_print.pl b/Open-ILS/src/support-scripts/rollover_phone_to_print.pl index c5da523f93..088b15175c 100755 --- a/Open-ILS/src/support-scripts/rollover_phone_to_print.pl +++ b/Open-ILS/src/support-scripts/rollover_phone_to_print.pl @@ -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; diff --git a/Open-ILS/src/support-scripts/set_pbx_holidays.pl b/Open-ILS/src/support-scripts/set_pbx_holidays.pl index 15483c0c97..6113a1a364 100755 --- a/Open-ILS/src/support-scripts/set_pbx_holidays.pl +++ b/Open-ILS/src/support-scripts/set_pbx_holidays.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -require "/openils/bin/oils_header.pl"; +require "oils_header.pl"; use strict; use warnings;