[open-ils-commits] [GIT] Evergreen ILS branch master updated. 98fc4aff6296411de4f1365ef21ea44d635ccf62

Evergreen Git git at git.evergreen-ils.org
Mon Aug 7 15:00:59 EDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  98fc4aff6296411de4f1365ef21ea44d635ccf62 (commit)
      from  95f46e11a7513e6392b483985b45c71449048712 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 98fc4aff6296411de4f1365ef21ea44d635ccf62
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date:   Fri May 26 10:05:02 2017 -0700

    LP#1693851: Fix hardcoded paths in srfsh support scripts
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Josh Stompro <stomproj at larl.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/Makefile.am b/Open-ILS/src/Makefile.am
index 253e8ab..21508e8 100644
--- a/Open-ILS/src/Makefile.am
+++ b/Open-ILS/src/Makefile.am
@@ -275,6 +275,10 @@ ilscore-install:
 	sed -i 's|SYSCONFDIR|@sysconfdir@|g' '$(DESTDIR)@bindir@/long-overdue-status-update.pl'
 	sed -i 's|BINDIR|@bindir@|g' '$(DESTDIR)@bindir@/thaw_expired_frozen_holds.srfsh'
 	sed -i 's|BINDIR|@bindir@|g' '$(DESTDIR)@bindir@/clear_cc_number.srfsh'
+	sed -i 's|BINDIR|@bindir@|g' '$(DESTDIR)@bindir@/purge_at_events.srfsh'
+	sed -i 's|BINDIR|@bindir@|g' '$(DESTDIR)@bindir@/purge_circulations.srfsh'
+	sed -i 's|BINDIR|@bindir@|g' '$(DESTDIR)@bindir@/purge_holds.srfsh'
+	sed -i 's|BINDIR|@bindir@|g' '$(DESTDIR)@bindir@/purge_pending_users.srfsh'
 	sed -i 's|LOCALSTATEDIR|@localstatedir@|g' '$(DESTDIR)@bindir@/oils_ctl.sh'
 	sed -i 's|SYSCONFDIR|@sysconfdir@|g' '$(DESTDIR)@bindir@/oils_ctl.sh'
 
diff --git a/Open-ILS/src/support-scripts/clear_expired_circ_history.srfsh b/Open-ILS/src/support-scripts/clear_expired_circ_history.srfsh
index 084d1da..c53887b 100755
--- a/Open-ILS/src/support-scripts/clear_expired_circ_history.srfsh
+++ b/Open-ILS/src/support-scripts/clear_expired_circ_history.srfsh
@@ -1,4 +1,4 @@
-#!/openils/bin/srfsh
+#!BINDIR/srfsh
 open open-ils.cstore
 request open-ils.cstore open-ils.cstore.transaction.begin
 request open-ils.cstore open-ils.cstore.json_query {"from":["container.clear_all_expired_circ_history_items"]}
diff --git a/Open-ILS/src/support-scripts/purge_at_events.srfsh b/Open-ILS/src/support-scripts/purge_at_events.srfsh
index f14b287..9cad283 100755
--- a/Open-ILS/src/support-scripts/purge_at_events.srfsh
+++ b/Open-ILS/src/support-scripts/purge_at_events.srfsh
@@ -1,4 +1,4 @@
-#!/openils/bin/srfsh
+#!BINDIR/srfsh
 open open-ils.cstore
 request open-ils.cstore open-ils.cstore.transaction.begin
 request open-ils.cstore open-ils.cstore.json_query {"from":["action_trigger.purge_events"]}
diff --git a/Open-ILS/src/support-scripts/purge_circulations.srfsh b/Open-ILS/src/support-scripts/purge_circulations.srfsh
index f1caf76..533403c 100755
--- a/Open-ILS/src/support-scripts/purge_circulations.srfsh
+++ b/Open-ILS/src/support-scripts/purge_circulations.srfsh
@@ -1,4 +1,4 @@
-#!/openils/bin/srfsh
+#!BINDIR/srfsh
 open open-ils.cstore
 request open-ils.cstore open-ils.cstore.transaction.begin
 request open-ils.cstore open-ils.cstore.json_query {"from":["action.purge_circulations"]}
diff --git a/Open-ILS/src/support-scripts/purge_holds.srfsh b/Open-ILS/src/support-scripts/purge_holds.srfsh
index bce78e2..3db90e1 100755
--- a/Open-ILS/src/support-scripts/purge_holds.srfsh
+++ b/Open-ILS/src/support-scripts/purge_holds.srfsh
@@ -1,4 +1,4 @@
-#!/openils/bin/srfsh
+#!BINDIR/srfsh
 open open-ils.cstore
 request open-ils.cstore open-ils.cstore.transaction.begin
 request open-ils.cstore open-ils.cstore.json_query {"from":["action.purge_holds"]}
diff --git a/Open-ILS/src/support-scripts/purge_pending_users.srfsh b/Open-ILS/src/support-scripts/purge_pending_users.srfsh
index 56d337a..b7ae7f6 100755
--- a/Open-ILS/src/support-scripts/purge_pending_users.srfsh
+++ b/Open-ILS/src/support-scripts/purge_pending_users.srfsh
@@ -1,4 +1,4 @@
-#!/openils/bin/srfsh
+#!BINDIR/srfsh
 open open-ils.cstore
 request open-ils.cstore open-ils.cstore.transaction.begin
 request open-ils.cstore open-ils.cstore.json_query {"from":["staging.purge_pending_users"]}
diff --git a/Open-ILS/src/support-scripts/update_hard_due_dates.srfsh b/Open-ILS/src/support-scripts/update_hard_due_dates.srfsh
index f14a24c..8f86c02 100755
--- a/Open-ILS/src/support-scripts/update_hard_due_dates.srfsh
+++ b/Open-ILS/src/support-scripts/update_hard_due_dates.srfsh
@@ -1,4 +1,4 @@
-#!/openils/bin/srfsh
+#!BINDIR/srfsh
 open open-ils.cstore
 request open-ils.cstore open-ils.cstore.transaction.begin
 request open-ils.cstore open-ils.cstore.json_query {"from":["config.update_hard_due_dates"]}

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/Makefile.am                           |    4 ++++
 .../clear_expired_circ_history.srfsh               |    2 +-
 Open-ILS/src/support-scripts/purge_at_events.srfsh |    2 +-
 .../src/support-scripts/purge_circulations.srfsh   |    2 +-
 Open-ILS/src/support-scripts/purge_holds.srfsh     |    2 +-
 .../src/support-scripts/purge_pending_users.srfsh  |    2 +-
 .../support-scripts/update_hard_due_dates.srfsh    |    2 +-
 7 files changed, 10 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list