seeddms-code/utils/seeddms-adddoc

9 lines
188 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
if [ -z "${SEEDDMS_HOME}" ]; then
parentdir=$(dirname "$0")
export SEEDDMS_HOME=$(dirname "$parentdir")
2016-01-19 14:24:23 +00:00
fi
exec php -f "${SEEDDMS_HOME}/utils/adddoc.php" -- "${@}"