Skip to content

Check for presence of directory before moving files

Tino Calancha requested to merge calancha/pipeline-definition:fix-cleanup into main

In a previous fix, we accounted for the presence of the directory "linux-${KERNEL_RELEASE}-${ARCH}" under /tmp/cleanup. However, recent pipelines for kernel version 6.3.0-rc3 don't have this directory.

This commit checks for the presence of the directory before moving the files.

Follow up of: #163 (closed)

Edited by Tino Calancha

Merge request reports