aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2016-04-17 17:14:29 +0200
committerNaios <naios-dev@live.de>2016-04-17 17:36:40 +0200
commite3a583646edd736176e5b4614b69fa794bc83c5b (patch)
treead617ddf514aa7ba033c7834db39c7f66ec9972d /contrib
parent9701fca7dff0611556e7029874c70a5507c9ca0e (diff)
Contrib: Fix the check_update scripts after the recent organization changes
* Fixes the travis build * Ref 8778829a98e3d605
Diffstat (limited to 'contrib')
-rw-r--r--contrib/check_updates.sh5
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