seeddms-code/utils/seeddms-indexer
Uwe Steinmann 2302546286 fіx argument passing to php file
passing arguments with whitespace didn't work
thanks to Jan-Benedict for providing this patch
2016-01-31 11:20:11 +01:00

9 lines
185 B
Bash
Executable File

#!/usr/bin/env bash
if [ -z "${SEEDDMS_HOME}" ]; then
echo 'Please set $SEEDDMS_HOME before running this script'
exit 1
fi
exec php -f "${SEEDDMS_HOME}/utils/indexer.php" -- "${@}"