no expandir directorios vacíos
This commit is contained in:
parent
3bd1b4cf48
commit
0f0a743123
1 changed files with 2 additions and 1 deletions
|
@ -3,11 +3,12 @@
|
|||
source /etc/nodemecu.conf
|
||||
source $install_dir/functions
|
||||
|
||||
# No expandir directorios vacíos
|
||||
shopt -s nullglob
|
||||
|
||||
# Revisando stack
|
||||
|
||||
for filename in $install_dir/stack/*;do
|
||||
test "$filename" = "$install_dir/stack/\*" || break
|
||||
jq $filename >/dev/null 2>&1 || mv -v $filename $corrupt
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue