From f026f46c868960e850db34c47423db1aa02f24c4 Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Mar 25 2017 18:07:10 +0000 Subject: Fix gub in helpers --- 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