Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Apr 18, 2024
1 parent edb4968 commit 253b7c3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

set -e
export WORLDPATH=${HOME}/.minetest/worlds/world

# create directory skeleton
Expand All @@ -13,15 +13,14 @@ do
done

# install game
cd ${WORLDPATH}/world/
cd ${WORLDPATH}/
git clone --depth=1 ${INPUT_GIT_GAME_REPO} game

# create link to current mod
ln -s /github/workspace ${WORLDPATH}/worldmods/${INPUT_MODNAME}

# assemble minetest.conf
cat <<EOF > /minetest.conf
default_game = minetest_game
mg_name = singlenode
mtt_filter = ${INPUT_MODNAME}
mtt_enable = true
Expand All @@ -36,7 +35,7 @@ mod_storage_backend = sqlite3
auth_backend = sqlite3
player_backend = dummy
backend = dummy
gameid = minetest
gameid = game
world_name = mtt
EOF

Expand Down

0 comments on commit 253b7c3

Please sign in to comment.