diff --git a/daily.sh b/daily.sh index b74705666c..5f63d3cad7 100644 --- a/daily.sh +++ b/daily.sh @@ -1,5 +1,8 @@ #!/bin/bash +dir=`dirname $0` +cd $dir; + if [ $(php daily.php -f update) -eq 1 ]; then git pull --no-edit --quiet php includes/sql-schema/update.php