Skip to content

Commit

Permalink
Quote all subshell command in lambda_loader.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PacoVK committed Jun 13, 2022
1 parent 08a9019 commit 2924983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda_loader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ eval "$(jq -er '@sh "VERSION=\(.version)
ENABLED_FUNCTION=\(.enabled_function)
CONFIG_FILE=\(.config_file)"')"

SYSTEM=$(uname | awk '{print tolower($0)}')
SYSTEM="$(uname | awk '{print tolower($0)}')"
FUNCTION_BEAT_URL=https://artifacts.elastic.co/downloads/beats/functionbeat/functionbeat-"${VERSION}"-"${SYSTEM}"-x86_64.tar.gz

DESTINATION=functionbeat-"${VERSION}"-"${SYSTEM}"-x86_64
Expand Down

0 comments on commit 2924983

Please sign in to comment.