fix
This commit is contained in:
@@ -3,8 +3,7 @@
|
|||||||
# exit script on any error
|
# exit script on any error
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
datadir=/datadir
|
datadir=${FANTOM_HOME:-/datadir}
|
||||||
FANTOM_HOME="$datadir"
|
|
||||||
|
|
||||||
existing_file=$(ls "$datadir"/*.g 2>/dev/null | head -n1)
|
existing_file=$(ls "$datadir"/*.g 2>/dev/null | head -n1)
|
||||||
if [ -n "$existing_file" ]; then
|
if [ -n "$existing_file" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user