diff --git a/docker-builder-data/build/script/common/helpers.sh b/docker-builder-data/build/script/common/helpers.sh index 6cf4a3f..464ea1a 100644 --- a/docker-builder-data/build/script/common/helpers.sh +++ b/docker-builder-data/build/script/common/helpers.sh @@ -24,7 +24,7 @@ copy() { foreachfile() { local FILE=$1 local COMMAND=$2 - if [ ! -x "$FILE" ]; then + if [ ! -e "$FILE" ]; then return 1 fi if [ -d "$FILE" ]; then