mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
determine SEEDDMS_HOME if not explicitly set
This commit is contained in:
parent
1b8e7883d1
commit
2d97c204a8
|
@ -1,6 +1,9 @@
|
|||
#!/bin/sh
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
parentdir=$(dirname "$0")
|
||||
export SEEDDMS_HOME=$(dirname "$parentdir")
|
||||
# echo "Setting SEEDDMS_HOME to:" $SEEDDMS_HOME
|
||||
# echo "Please set SEEDDMS_HOME before running this script";
|
||||
# exit 1;
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/schedulercli.php -- "$@"
|
||||
|
|
Loading…
Reference in New Issue
Block a user