rename var from nonsense to intended name

This commit is contained in:
TotallyLeGIT 2020-08-27 23:05:57 +02:00
parent 85f20097e4
commit 0e51f951de

View file

@ -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