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