X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=gitslink;fp=gitslink;h=0616fe7e561825c7c3080e6e97c852ed62231a56;hp=f44f2139a2b720ada824c4633011db10db4743f9;hb=d67edcdca8795a4bca116aa532d02dda246a6f53;hpb=a9e3d60b4254cd5c6216c4b3e7f8cd5cc5107fad diff --git a/gitslink b/gitslink index f44f213..0616fe7 100755 --- 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]"