Merge pull request #328 from laf/issue-laf-72

Fixes the fact daily.sh does not run outside of the install directory
This commit is contained in:
Paul Gear
2014-10-24 08:38:51 +10:00
+3
View File
@@ -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