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:43:17 +0200 |
| commit | c333d0f6de4ecef31ce4fdb228f8744b38825f69 (patch) | |
| tree | b860378c92497436660593cb93af9e42f924ad14 /contrib | |
| parent | 34f72c9f6d4186ca7cfa139d8ff7b3044604c87e (diff) | |
Contrib: Fix the check_update scripts after the recent organization changes
* Fixes the travis build
* Ref 8778829a98e3d605
(cherry picked from commit e3a583646edd736176e5b4614b69fa794bc83c5b)
Diffstat (limited to 'contrib')
| -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 |
