safe config names
This commit is contained in:
parent
f00c3bcc22
commit
8834230cb3
@ -160,8 +160,10 @@ function zssh_publish_configs()
|
||||
zshlibs_log zssh_server "generating access configs for parties …"
|
||||
for sshmatch in ${(k)zssh_host_config_accesses}
|
||||
do
|
||||
zshlibs_log zssh_server "generating our server access config '$(zssh_host_info -E ${sshmatch})'"
|
||||
zssh_generate_hostaccessconfig $sshmatch > "$(zssh_host_info -E ${sshmatch})"
|
||||
config_filename="$(zssh_host_info -E ${sshmatch})"
|
||||
config_filename=${config_filename//:/_}
|
||||
zshlibs_log zssh_server "generating our server access config '${config_filename}'"
|
||||
zssh_generate_hostaccessconfig $sshmatch > "${config_filename}"
|
||||
done
|
||||
zshlibs_log zssh_server "updating mtime for $(zssh_host_info -C)"
|
||||
touch "$(zssh_host_info -C)"
|
||||
|
Loading…
Reference in New Issue
Block a user