diff options
author | Marc Cornellà <hello@mcornella.com> | 2022-01-17 22:58:13 +0100 |
---|---|---|
committer | dana <dana@dana.is> | 2022-02-12 07:22:14 -0600 |
commit | b34d33e3b3c5ae30e8315111f07634c1e7507531 (patch) | |
tree | a7762254ab4c5607b00b50368ab74f552c6f940f /Functions/VCS_Info | |
parent | bdc4d70a7e033b754e68a8659a037ea0fc5f38de (diff) | |
download | zsh-b34d33e3b3c5ae30e8315111f07634c1e7507531.tar.gz zsh-b34d33e3b3c5ae30e8315111f07634c1e7507531.tar.xz zsh-b34d33e3b3c5ae30e8315111f07634c1e7507531.zip |
security/82: VCS_Info: Fix typo in hook_com[base-name_orig] assignment
Tweaked per discussion in security/90, security/91
Diffstat (limited to 'Functions/VCS_Info')
-rw-r--r-- | Functions/VCS_Info/VCS_INFO_formats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_formats b/Functions/VCS_Info/VCS_INFO_formats index e0e1dc738..daf169f26 100644 --- a/Functions/VCS_Info/VCS_INFO_formats +++ b/Functions/VCS_Info/VCS_INFO_formats @@ -28,7 +28,7 @@ hook_com=( vcs_orig "${vcs}" ) hook_com[base-name]="${${hook_com[base]}:t}" -hook_com[base-name_orig]="${hook_com[base_name]}" +hook_com[base-name_orig]="${hook_com[base-name]}" hook_com[subdir]="$(VCS_INFO_reposub ${hook_com[base]})" hook_com[subdir_orig]="${hook_com[subdir]}" |