aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/scripts/lib.sh')
-rw-r--r--mcp/scripts/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 293262e89..c6a3d219e 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -270,7 +270,7 @@ function prepare_vms {
if [ "${image_dir}/${_tmp}" -ef "${image_dir}/${image}" ]; then
echo "[INFO] Patched base image found"
else
- rm -f "${image_dir}/${image%.*}"*
+ rm -rf "${image_dir}/${image%.*}"*
if [[ ! "${repos_pkgs_str}" =~ ^\^+$ ]]; then
echo "[INFO] Patching base image ..."
cp "${image_dir}/${_o}" "${image_dir}/${_tmp}"