From 0e51f951dea3f3350c70e69b44dfe50957952843 Mon Sep 17 00:00:00 2001 From: TotallyLeGIT Date: Thu, 27 Aug 2020 23:05:57 +0200 Subject: [PATCH] rename var from nonsense to intended name --- updater.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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