diff options
author | Naios <naios-dev@live.de> | 2016-04-17 17:14:29 +0200 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2016-04-17 17:36:40 +0200 |
commit | e3a583646edd736176e5b4614b69fa794bc83c5b (patch) | |
tree | ad617ddf514aa7ba033c7834db39c7f66ec9972d /contrib/check_updates.sh | |
parent | 9701fca7dff0611556e7029874c70a5507c9ca0e (diff) |
Contrib: Fix the check_update scripts after the recent organization changes
* Fixes the travis build
* Ref 8778829a98e3d605
Diffstat (limited to 'contrib/check_updates.sh')
-rw-r--r-- | contrib/check_updates.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/check_updates.sh b/contrib/check_updates.sh index 017542eb807..6c33d07ae8b 100644 --- a/contrib/check_updates.sh +++ b/contrib/check_updates.sh @@ -1,6 +1,7 @@ #!/bin/sh name=$1 -database=$2 +branch=$2 +database=$3 echo "Database Updater check script:" echo " Checking database '${name}' for missing filenames in tables..." @@ -9,7 +10,7 @@ echo # Select all entries which are in the updates table entries=$(mysql -uroot ${database} -e "SELECT name FROM updates" | grep ".sql") -cd sql/updates/${name} +cd sql/updates/${name}/${branch} error=0 updates=0 |