mirror of
https://github.com/ben-grande/qusal.git
synced 2025-07-25 07:25:27 -04:00
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without it.
This commit is contained in:
parent
e42950376a
commit
1b2f1ba941
52 changed files with 196 additions and 189 deletions
|
@ -17,7 +17,7 @@ file_roots="/srv/salt/${group}"
|
|||
|
||||
cd "${0%/*}"/..
|
||||
## Avoid having extra unwanted files.
|
||||
rm -rf "${file_roots}"
|
||||
cp -f minion.d/*.conf /etc/salt/minion.d/
|
||||
mkdir -p "${file_roots}"
|
||||
cp -r salt/* "${file_roots}"
|
||||
rm -rf -- "${file_roots}"
|
||||
cp -f -- minion.d/*.conf /etc/salt/minion.d/
|
||||
mkdir -p -- "${file_roots}"
|
||||
cp -r -- salt/* "${file_roots}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue