diff --git a/entrypoint.sh b/entrypoint.sh index c690427..282d29d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,10 +3,7 @@ # Initialize an empty array to hold the arguments args=() -# Use a while loop to split INPUT_INCLUDES by spaces and handle each token -while IFS= read -r -d ' ' token; do - args+=("$token") -done <<<"$INPUT_INCLUDES " +IFS=' ' read -r -a args <<<"$1" # Pass the arguments array to your main script exec app "${args[@]}"