Merge pull request #4 from linuxserver/ignore-empty

This commit is contained in:
Adam 2024-12-05 13:08:07 +00:00 committed by GitHub
commit f89f919f8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,9 @@ while [[ ${BASEIMAGENAME} =~ "baseimage" ]]; do
done
for i in /tmp/*; do
cp -R "${i}/root" "/work/merge"
if [[ -d "${i}/root" ]];then
cp -R "${i}/root" "/work/merge"
fi
done
shopt -s globstar