lots: shellcheck, streaming stuff, fixes
[distro-setup] / gitslink
index f44f2139a2b720ada824c4633011db10db4743f9..0616fe7e561825c7c3080e6e97c852ed62231a56 100755 (executable)
--- a/gitslink
+++ b/gitslink
@@ -20,7 +20,7 @@ source /a/bin/lnf/lnf >/dev/null ||:
 
 for x in !(unused|distro-setup|unfinished|queue|bash-template|buildscripts|crons|data|examples|log-quiet); do
   [[ -e $x/.git ]] || continue
-  for y in $x/*; do
+  for y in "$x"/*; do
     f=${y##*/}
     if [[ -x $y && ! -d $y ]]; then
       unset "existing[$f]"