Aleksander Machniak
2014-11-04 2883fcba2bf3fcff286a70c3629016a0c53a6803
bin/update.sh
@@ -19,7 +19,7 @@
 +-----------------------------------------------------------------------+
*/
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' );
require_once INSTALL_PATH . 'program/include/clisetup.php';
@@ -157,7 +157,7 @@
  if ($RCI->config['db_dsnw']) {
    echo "Executing database schema update.\n";
    system("php " . INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version']
      . " --dir=" . INSTALL_PATH . DIRECTORY_SEPARATOR . "SQL", $res);
      . " --dir=" . INSTALL_PATH . "SQL", $res);
    $success = !$res;
  }