mirror of
https://github.com/linuxserver/docker-d2-builder.git
synced 2026-02-20 04:14:08 +08:00
Merge pull request #4 from linuxserver/ignore-empty
This commit is contained in:
commit
f89f919f8a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user