From 402d6821bf62d7b496127b047241aec46119602d Mon Sep 17 00:00:00 2001 From: Nizar Mahmoud Date: Sat, 7 Mar 2020 19:04:41 +0200 Subject: [PATCH] Fix: Fixed Issue with Output Directory, Create if Doesn't Exist --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index eafd7de..1b1b69a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,6 +17,8 @@ elif [[ $INPUT_OUTPUT =~ ^.*\/$ ]]; then INPUT_OUTPUT="$DIR/$INPUT_OUTPUT" fi +mkdir -p $INPUT_OUTPUT + for filename in `ls $INPUT_DIRECTORY`; do filepath="$INPUT_DIRECTORY/$filename"