From 6db2d5df501e5d1623637af32b3ed2fe12289217 Mon Sep 17 00:00:00 2001 From: Para Dox Date: Mon, 14 Apr 2025 11:02:10 +0700 Subject: [PATCH] fix --- fantom/scripts/entrypoint.opera.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fantom/scripts/entrypoint.opera.sh b/fantom/scripts/entrypoint.opera.sh index f3a22fa7..73bc43f0 100644 --- a/fantom/scripts/entrypoint.opera.sh +++ b/fantom/scripts/entrypoint.opera.sh @@ -3,8 +3,7 @@ # exit script on any error set -e -datadir=/datadir -FANTOM_HOME="$datadir" +datadir=${FANTOM_HOME:-/datadir} existing_file=$(ls "$datadir"/*.g 2>/dev/null | head -n1) if [ -n "$existing_file" ]; then