Unquote $recursive to support empty-case
This is safe to do, as the value of $recursive is not dependent on user-supplied code.
This commit is contained in:
parent
53728a7ff0
commit
fff656d1ac
1 changed files with 6 additions and 6 deletions
|
@ -57,18 +57,18 @@ get_current_value() {
|
||||||
}
|
}
|
||||||
|
|
||||||
set_group() {
|
set_group() {
|
||||||
echo "chgrp '$recursive' '$1' '$destination'"
|
echo "chgrp $recursive '$1' '$destination'"
|
||||||
echo "chgrp '$recursive' '$1'" >> "$__messages_out"
|
echo "chgrp $recursive '$1'" >> "$__messages_out"
|
||||||
}
|
}
|
||||||
|
|
||||||
set_owner() {
|
set_owner() {
|
||||||
echo "chown '$recursive' '$1' '$destination'"
|
echo "chown $recursive '$1' '$destination'"
|
||||||
echo "chown '$recursive' '$1'" >> "$__messages_out"
|
echo "chown $recursive '$1'" >> "$__messages_out"
|
||||||
}
|
}
|
||||||
|
|
||||||
set_mode() {
|
set_mode() {
|
||||||
echo "chmod '$recursive' '$1' '$destination'"
|
echo "chmod $recursive '$1' '$destination'"
|
||||||
echo "chmod '$recursive' '$1'" >> "$__messages_out"
|
echo "chmod $recursive '$1'" >> "$__messages_out"
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$state_should" in
|
case "$state_should" in
|
||||||
|
|
Loading…
Reference in a new issue