SITKA Public Git
/
sitka
/
sitka-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EG install scripts: handle translation packages more elegantly
[sitka/sitka-tools.git]
/
marc_export_custom
/
sitka-full-export-bslw.sh
diff --git
a/marc_export_custom/sitka-full-export-bslw.sh
b/marc_export_custom/sitka-full-export-bslw.sh
index
ac249be
..
e0cb093
100755
(executable)
--- a/
marc_export_custom/sitka-full-export-bslw.sh
+++ b/
marc_export_custom/sitka-full-export-bslw.sh
@@
-1,14
+1,14
@@
#!/bin/bash
#!/bin/bash
-DIR=
`dirname $0`
+DIR=
$(readlink -f $(dirname $0))
#cd /srv/openils/bin
PGUSER=evergreen
#cd /srv/openils/bin
PGUSER=evergreen
-PGHOST=
db1
.sitka.bclibraries.ca
+PGHOST=
prod-pg94-db2-sitka
.sitka.bclibraries.ca
PSQL="psql -A -t -U $PGUSER -h $PGHOST"
DATABASE=evergreen
FULL_QUERY="select id from biblio.record_entry where not deleted"
PSQL="psql -A -t -U $PGUSER -h $PGHOST"
DATABASE=evergreen
FULL_QUERY="select id from biblio.record_entry where not deleted"
-MARC_PARAMS="--config /srv/openils/conf/opensrf_core.xml --timeout 300 --force901 --encoding UTF-8"
+MARC_PARAMS="--config /srv/openils/conf/opensrf_core.xml --timeout 300 --force901 --encoding UTF-8
--quiet
"
MARC_EXPORT_BIN="${DIR}/marc_export_custom"
MARC_EXPORT="${MARC_EXPORT_BIN} ${MARC_PARAMS}"
MARC_EXPORT_BIN="${DIR}/marc_export_custom"
MARC_EXPORT="${MARC_EXPORT_BIN} ${MARC_PARAMS}"