From 15eb00d9b28b4de992ae7ea3f3bd7931664de202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Valor=20Mart=C3=ADnez?= Date: Thu, 21 Jan 2021 08:14:02 +0100 Subject: [PATCH] =?UTF-8?q?kjhkhkj=C2=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- create_retroarch_chd_playlist.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/create_retroarch_chd_playlist.sh b/create_retroarch_chd_playlist.sh index 08a8cd7..0b8de7c 100755 --- a/create_retroarch_chd_playlist.sh +++ b/create_retroarch_chd_playlist.sh @@ -27,17 +27,17 @@ if ! echo "$SYSTEMS" | grep -w "$1" >/dev/null; then exit 0 fi -if ! test -d "${ROM_FOLDER}"/"${SYSTEM}"; then - echo "${ROM_FOLDER}"/"${SYSTEM}" does not exists - exit 0 -fi - #readonly SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" readonly SYSTEM="$1" readonly ROM_FOLDER="$2" readonly PLAYLISTS_FOLDER="$3" readonly BASE_PATH="/Users/sergio/Roms/roms.retroachievements.2020/" +if ! test -d "${ROM_FOLDER}"/"${SYSTEM}"; then + echo "${ROM_FOLDER}"/"${SYSTEM}" does not exists + exit 0 +fi + case $SYSTEM in 3do)