Skip to content

Commit feb0b78

Browse files
authored
Fix variable naming for modified startup command (#354)
1 parent 2ab773f commit feb0b78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

steamcmd/entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ else
7575
fi
7676

7777
# Replace Startup Variables
78-
modifiedStartup=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
78+
MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
7979

8080
# Run the Server
8181
echo -e "Starting server..."
82-
echo -e ":/home/container$ ${modifiedStartup}"
83-
${modifiedStartup}
82+
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
83+
eval ${MODIFIED_STARTUP}

0 commit comments

Comments
 (0)