From 20969de72dd494e1466504bbd5debbcb9573e691 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Fri, 5 Aug 2016 20:59:25 +0200 Subject: [PATCH] parallelworlds.sh: minor fixes and code review --- script.d/parallelworlds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.d/parallelworlds.sh b/script.d/parallelworlds.sh index dcce344..3ddb1b2 100644 --- a/script.d/parallelworlds.sh +++ b/script.d/parallelworlds.sh @@ -26,7 +26,7 @@ Supported Versions: US check_input_rom () { if [[ ! ${ROM} ]]; then - ROM=$(find . -name ${ROM_MASK} | sed -e 's,./,,') + ROM=$(find . -name "${ROM_MASK}" | sed -e 's,./,,') if [[ ${ROM} == "" ]]; then echo -e "error: could not find suitable ROM, specify using --rom" exit 15