diff -r b9b4a95d8850 -r e54c345e0d4a debian/patches/db-update --- a/debian/patches/db-update Mon Sep 19 15:47:49 2011 +0200 +++ b/debian/patches/db-update Mon Sep 19 16:49:41 2011 +0200 @@ -23,15 +23,15 @@ Reviewed-By: Last-Update: ---- a/TrustCenter/scripts/install_update_db.sh -+++ b/TrustCenter/scripts/install_update_db.sh -@@ -1,6 +1,4 @@ +--- a/LittleBird-Test/TrustCenter/scripts/install_update_db ++++ b/LittleBird-Test/TrustCenter/scripts/install_update_db +@@ -1,6 +1,5 @@ #!/bin/sh -# cron script actual statistic -ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh -source $ZF_CONF -- --$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd +ZF_CONF=$(dirname $(readlink -f $0))/../zf_conf.sh +. $ZF_CONF -+$ZEND_PROJECT_PATH/zf.sh database update "${1-root}" "${2-L1ttleB1rd}" + +-$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd >&2 ++$ZEND_PROJECT_PATH/zf.sh database update "${1-root}" "${2-L1ttleB1rd}" >&2