diff --git a/bin/check-attract-mode.sh b/bin/check-attract-mode.sh index d2ca96f09..bc9bab132 100755 --- a/bin/check-attract-mode.sh +++ b/bin/check-attract-mode.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # run from project root directory diff --git a/bin/generate-mini-attract-mode.sh b/bin/generate-mini-attract-mode.sh index fbcbc2ffd..2071cdc45 100755 --- a/bin/generate-mini-attract-mode.sh +++ b/bin/generate-mini-attract-mode.sh @@ -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"