From e3a583646edd736176e5b4614b69fa794bc83c5b Mon Sep 17 00:00:00 2001 From: Naios Date: Sun, 17 Apr 2016 17:14:29 +0200 Subject: Contrib: Fix the check_update scripts after the recent organization changes * Fixes the travis build * Ref 8778829a98e3d605 --- contrib/check_updates.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'contrib/check_updates.sh') 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 -- cgit v1.2.3