#!/bin/bash
-DIR=`dirname $0`
+DIR=$(readlink -f $(dirname $0))
#cd /srv/openils/bin
PGUSER=evergreen
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}"