diff --git a/.dockerignore b/build-archiso/.dockerignore similarity index 100% rename from .dockerignore rename to build-archiso/.dockerignore diff --git a/build-archiso/run.sh b/build-archiso/run.sh index f0cd259..a94adb4 100755 --- a/build-archiso/run.sh +++ b/build-archiso/run.sh @@ -22,11 +22,11 @@ function isEmptyDir() { # arg $1: directory to check if [ -z "$(find "${1}" -maxdepth 0 -type d -empty 2>/dev/null)" ]; then - # "Empty directory" - return 0 - else # echo "Not empty or NOT a directory" return 1 + else + # "Empty directory" + return 0 fi } diff --git a/build-pkg/.dockerignore b/build-pkg/.dockerignore new file mode 100644 index 0000000..ca36dd0 --- /dev/null +++ b/build-pkg/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!run.sh