mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
security/82: VCS_Info: Fix typo in hook_com[base-name_orig] assignment
Tweaked per discussion in security/90, security/91
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2022-01-27 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]}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user