diff options
author | Michael B. Sumulong <[email protected]> | 2021-04-07 15:58:04 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-07 15:58:04 -0400 |
commit | 2799ebb8053fb59d653ea9ce59892f08294127b2 (patch) | |
tree | caad3aa8a7dc7a8fceac51e3c7f02d56f9d45f57 /configs/kvmd | |
parent | dddf72b9a66716d66d4d2c625588e37f76f08ffb (diff) |
Fix /etc/kvmd/{nginx,vnc}/ssl directory creation
It appears that using quotes when doing brace expansion doesn't work as expected:
[root@pikvm-zerow tmp]# mkdir -p -v "./etc/kvmd/{nginx,vnc}/ssl"
mkdir: created directory './etc'
mkdir: created directory './etc/kvmd'
mkdir: created directory './etc/kvmd/{nginx,vnc}'
mkdir: created directory './etc/kvmd/{nginx,vnc}/ssl'
I believe the desired behavior is the following:
[root@pikvm-zerow tmp]# mkdir -p -v "./etc/kvmd/"{nginx,vnc}"/ssl"
mkdir: created directory './etc/kvmd/nginx'
mkdir: created directory './etc/kvmd/nginx/ssl'
mkdir: created directory './etc/kvmd/vnc'
mkdir: created directory './etc/kvmd/vnc/ssl'
I think the same change would also need to be made to https://github.com/pikvm/packages/blob/master/packages/kvmd/PKGBUILD which I can update if this is acceptable.
This proposed change fixes this issue.
Diffstat (limited to 'configs/kvmd')
0 files changed, 0 insertions, 0 deletions