mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
Fix make attract on Linux (#176)
This commit is contained in:
parent
e1dcccd5d9
commit
73ca7b64da
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# run from project root directory
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# run from project root directory
|
||||
|
||||
@ -9,7 +9,7 @@ cat res/GAMES.CONF |
|
||||
cut -d"=" -f1 | \
|
||||
while read game; do
|
||||
# initialize attract mode configuration file for this game
|
||||
echo "#\n# Attract mode for $game\n# This file is automatically generated\n#\n" > /tmp/g
|
||||
echo -e "#\n# Attract mode for $game\n# This file is automatically generated\n#\n" > /tmp/g
|
||||
|
||||
# add box art, if any
|
||||
[ -f res/ARTWORK.SHR/"$game" ] &&
|
||||
@ -60,7 +60,7 @@ cat res/GAMES.CONF |
|
||||
fi
|
||||
|
||||
# add eof
|
||||
echo "\n[eof]" >> /tmp/g
|
||||
echo -e "\n[eof]" >> /tmp/g
|
||||
|
||||
cat /tmp/g > res/ATTRACT/"$game"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user