Skip to content

Commit

Permalink
fix logic to add lower dirs for overlayfs
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed May 6, 2024
1 parent aec2304 commit 7024f84
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,8 @@ else
for remove_dir in $(grep REMOVE_SOFTWARE ${determine_outerr} | cut -f4- -d'/'); do
mkdir -p ${STORAGE}/lower_dirs/${remove_dir}
chmod u+rwx ${STORAGE}/lower_dirs/${remove_dir}
if [[ ! -z ${LOWER_DIRS} ]]; then
LOWER_DIRS="${LOWER_DIRS}:${STORAGE}/lower_dirs/${remove_dir}"
else
LOWER_DIRS="${STORAGE}/lower_dirs/${remove_dir}"
if [[ -z ${LOWER_DIRS} ]]; then
LOWER_DIRS="${STORAGE}/lower_dirs"
fi
done

Expand Down

0 comments on commit 7024f84

Please sign in to comment.