aboutsummaryrefslogtreecommitdiff
path: root/contrib/check_updates.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/check_updates.sh')
-rw-r--r--contrib/check_updates.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/check_updates.sh b/contrib/check_updates.sh
index 6c33d07ae8b..4376b9a6bf9 100644
--- a/contrib/check_updates.sh
+++ b/contrib/check_updates.sh
@@ -2,13 +2,14 @@
name=$1
branch=$2
database=$3
+host=$4
echo "Database Updater check script:"
echo " Checking database '${name}' for missing filenames in tables..."
echo
# Select all entries which are in the updates table
-entries=$(mysql -uroot ${database} -e "SELECT name FROM updates" | grep ".sql")
+entries=$(mysql -uroot ${database} -h ${host} -e "SELECT name FROM updates" | grep ".sql")
cd sql/updates/${name}/${branch}