=== modified file 'sbin/zsvgen' --- sbin/zsvgen 2016-07-14 21:34:55 +0000 +++ sbin/zsvgen 2016-07-14 21:28:03 +0000 @@ -75,12 +75,9 @@ fi done -sv_mkdir=${SVDIR%%/} -typeset -gA svdir_stat -zstat -H svdir_stat +mode +link $sv_mkdir -while (( $svdir_stat[mode] >> 12 == 10 )); do # symlink - sv_mkdir=$svdir_stat[link] - zstat -H svdir_stat +mode +link $sv_mkdir +sv_mkdir=( ${SVDIR%%/} ) +while [[ -L $sv_mkdir ]]; do + zstat -A sv_mkdir +link $SVDIR done mkdir -p $sv_mkdir || exit $?