Merge "container-puppet.sh: add -r to rm command"
This commit is contained in:
commit
a5fea1fbd3
@ -124,7 +124,7 @@ if [ -z "$NO_ARCHIVE" ]; then
|
|||||||
echo "Ensuring the removed config files are also purged in ${puppet_generated_path}:"
|
echo "Ensuring the removed config files are also purged in ${puppet_generated_path}:"
|
||||||
cat $TMPFILE | sort
|
cat $TMPFILE | sort
|
||||||
cat $TMPFILE | xargs -n1 -r -I{} \
|
cat $TMPFILE | xargs -n1 -r -I{} \
|
||||||
bash -c "rm -f ${puppet_generated_path}/{}"
|
bash -c "rm -rf ${puppet_generated_path}/{}"
|
||||||
exec 5>&1
|
exec 5>&1
|
||||||
exec 1>$TMPFILE2
|
exec 1>$TMPFILE2
|
||||||
find $rsync_srcs -newer $origin_of_time -not -path '/etc/puppet*' -print0
|
find $rsync_srcs -newer $origin_of_time -not -path '/etc/puppet*' -print0
|
||||||
|
Loading…
Reference in New Issue
Block a user