Skip to content

Commit

Permalink
Merge pull request #21 from simonwhitaker/simon/quote-ref
Browse files Browse the repository at this point in the history
Quote $ref to avoid word splitting
  • Loading branch information
volodymyrZotov authored Dec 16, 2022
2 parents 7903600 + 2ee4979 commit ffba2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ populating_secret() {
ref=$(printenv $1)

echo "Populating variable: $1"
secret_value=$(op read $ref)
secret_value=$(op read "$ref")

if [ -z "$secret_value" ]; then
echo "Could not find or access secret $ref"
Expand Down

0 comments on commit ffba2a6

Please sign in to comment.