From a68b9910d600c3640c3d516c93b7b34957ec006d Mon Sep 17 00:00:00 2001 From: Vladimir Levin Date: Sun, 6 Aug 2023 17:58:00 +0900 Subject: [PATCH] Update entrypoint --- entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1918c34..2aeb6bb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,10 +8,9 @@ if [[ "$YA_INSECURE" == "true" ]]; then fi recursive_option="" -if [[ "YA_RECURSIVE" == "true" ]]; then +if [[ "$YA_RECURSIVE" == "true" ]]; then recursive_option="--recursive" fi mc alias set ${insecure_option:+"$insecure_option"} target "$YA_ENDPOINT" "$YA_ACCESS_KEY" "$YA_SECRET_KEY" - mc ${insecure_option:+"$insecure_option"} cp ${recursive_option:+"$recursive_option"} $1 "target/$2" \ No newline at end of file