mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-01 14:33:38 +02:00
rename var from nonsense to intended name
This commit is contained in:
parent
85f20097e4
commit
0e51f951de
1 changed files with 2 additions and 2 deletions
|
@ -231,14 +231,14 @@ add_override () {
|
||||||
cat "$input" >> user.js
|
cat "$input" >> user.js
|
||||||
echo -e "Status: ${GREEN}Override file appended:${NC} ${input}"
|
echo -e "Status: ${GREEN}Override file appended:${NC} ${input}"
|
||||||
elif [ -d "$input" ]; then
|
elif [ -d "$input" ]; then
|
||||||
FSAVEIFS=$IFS
|
SAVEIFS=$IFS
|
||||||
IFS=$'\n\b' # Set IFS
|
IFS=$'\n\b' # Set IFS
|
||||||
FILES="${input}"/*.js
|
FILES="${input}"/*.js
|
||||||
for f in $FILES
|
for f in $FILES
|
||||||
do
|
do
|
||||||
add_override "$f"
|
add_override "$f"
|
||||||
done
|
done
|
||||||
IFS=$FSAVEIFS # restore $IFS
|
IFS=$SAVEIFS # restore $IFS
|
||||||
else
|
else
|
||||||
echo -e "${ORANGE}Warning: Could not find override file:${NC} ${input}"
|
echo -e "${ORANGE}Warning: Could not find override file:${NC} ${input}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue