Fix typo in variable

This commit is contained in:
Jim Winstead
2024-10-21 18:17:52 -07:00
parent 98dc051431
commit 3489a06d8d

View File

@ -33,7 +33,7 @@ if (file_exists($build_ops)) {
define('GIT_DIR', $GIT_DIR);
$SQLITE_DIR = getenv('SQLITE_DIR');
if ($SQLITE == '') {
if ($SQLITE_DIR == '') {
die("Don't know where to place SQLite database, set `SQLITE_DIR` enviromment variable!");
}
$SQLITE_DIR .= (substr($SQLITE_DIR, -1) == '/' ? '' : '/');