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