From 0f0a74312305aa56eb4ce77a0d70595f0500966b Mon Sep 17 00:00:00 2001 From: f Date: Thu, 3 Mar 2022 14:25:16 -0300 Subject: [PATCH] =?UTF-8?q?no=20expandir=20directorios=20vac=C3=ADos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- register.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/register.sh b/register.sh index e54e3f3..f207c78 100755 --- a/register.sh +++ b/register.sh @@ -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