mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02: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
|
|
@ -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…
Add table
Add a link
Reference in a new issue