Gemini commited on
Commit
5a37b3e
·
1 Parent(s): 3cfc0a2

fix(start.sh): Fix SCRIPT_DIR to correctly source setup.sh

Browse files
Files changed (1) hide show
  1. start.sh +2 -0
start.sh CHANGED
@@ -1,5 +1,7 @@
1
  #!/bin/bash
2
 
 
 
3
  echo "--- Checking SQLite database... ---"
4
  if [ ! -s /app/data/sqlite/lpm.db ]; then
5
  echo "SQLite database not found or empty, initializing..."
 
1
  #!/bin/bash
2
 
3
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+
5
  echo "--- Checking SQLite database... ---"
6
  if [ ! -s /app/data/sqlite/lpm.db ]; then
7
  echo "SQLite database not found or empty, initializing..."