mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
security/82: VCS_Info: Fix typo in hook_com[base-name_orig] assignment
Tweaked per discussion in security/90, security/91
(cherry picked from commit b34d33e3b3
)
This commit is contained in:
parent
f7fa575a59
commit
2b66ed35b0
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
2022-02-12 dana <dana@dana.is>
|
||||
|
||||
* Marc Cornellà: security/82 (tweaked):
|
||||
Functions/VCS_Info/VCS_INFO_formats: Fix typo in
|
||||
hook_com[base-name_orig] assignment
|
||||
|
||||
* CVE-2021-45444: NEWS, README: Document preceding two changes
|
||||
|
||||
* Marc Cornellà: security/89:
|
||||
|
|
|
@ -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]}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue