diff --git a/updater.sh b/updater.sh index dab2018..e6b1460 100755 --- a/updater.sh +++ b/updater.sh @@ -231,14 +231,14 @@ add_override () { cat "$input" >> user.js echo -e "Status: ${GREEN}Override file appended:${NC} ${input}" elif [ -d "$input" ]; then - FSAVEIFS=$IFS + SAVEIFS=$IFS IFS=$'\n\b' # Set IFS FILES="${input}"/*.js for f in $FILES do add_override "$f" done - IFS=$FSAVEIFS # restore $IFS + IFS=$SAVEIFS # restore $IFS else echo -e "${ORANGE}Warning: Could not find override file:${NC} ${input}" fi