Bug 6540 - Add defaultsql command line option

This will override the setting in /etc/koha/koha-sites.conf.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Magnus Enger 2011-07-20 16:08:51 +02:00 committed by Chris Cormack
parent c7bde29718
commit bddca6fbcf

View file

@ -89,6 +89,7 @@ while true ; do
-p|--populate-db) op=populate ; shift ;;
-m|--marcflavor) ZEBRA_MARC_FORMAT="$2" ; shift 2 ;;
-l|--zebralang) ZEBRA_LANGUAGE="$2" ; shift 2 ;;
-d|--defaultsql) DEFAULTSQL="$2" ; shift 2 ;;
--) shift ; break ;;
*) die "Internal error! " ;;
esac