From f265cb1cd5bf9126ecd34738d98ecfdf1a9f41f6 Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Fri, 26 May 2017 10:05:58 -0700 Subject: [PATCH] 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 --- Open-ILS/src/support-scripts/rollover_phone_to_print.pl | 2 +- Open-ILS/src/support-scripts/set_pbx_holidays.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0