fileset

git mirror of https://ccx.te2000.cz/bzr/fileset
git clone https://ccx.te2000.cz/git/fileset
Log | Files | Refs | README

commit ad404be0377358f5ee09ddba28e266c93d34ef11
parent 9c4bc500d9ebd5b8f28050add40067b29702962c
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Tue, 15 Mar 2016 14:29:49 +0100

fix parameter name, silence missing file errors from zstat
Diffstat:
Mzsh-functions/confz_fileset_init | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/zsh-functions/confz_fileset_init b/zsh-functions/confz_fileset_init @@ -36,14 +36,14 @@ fileset_stat() { local id ret ftype fperm id=${fileset_stat_cache[$1]:-missing} if [[ $id == missing ]]; then - zstat -L -H fileset_stat_$fileset_stat_next_id $1 + zstat -L -H fileset_stat_$fileset_stat_next_id $1 >/dev/null ret=$? if (($ret == 0)); then - fileset_stat[$1]=$fileset_stat_next_id + fileset_stat_cache[$1]=$fileset_stat_next_id fileset_stat_set_cur $fileset_stat_next_id fileset_stat_next_id=$[ $fileset_stat_next_id + 1 ] else - fileset_stat[$1]=-$ret + fileset_stat_cache[$1]=-$ret fi return $ret elif (( $id >= 0 )); then