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