summaryrefslogtreecommitdiff
path: root/bin/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/update.sh')
-rwxr-xr-xbin/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update.sh b/bin/update.sh
index 536bad9ba..be952cc2f 100755
--- a/bin/update.sh
+++ b/bin/update.sh
@@ -144,7 +144,7 @@ if ($RCI->configured) {
// check database schema
if ($RCI->config['db_dsnw']) {
echo "Executing database schema update.\n";
- system(INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $ops['version']
+ system(INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version']
. " --dir=" . INSTALL_PATH . DIRECTORY_SEPARATOR . "SQL", $res);
$success = !$res;