Skip to content

Commit

Permalink
use eval to expand glob during bindplane apply (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni authored Mar 22, 2024
1 parent b62d1dc commit f369d8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,20 +183,20 @@ main() {
echo "Applying resources."

echo "Applying destination path: $destination_path"
bindplane apply "$destination_path"
eval bindplane apply "$destination_path"

if [ -n "$source_path" ]; then
echo "Applying source path: $source_path"
bindplane apply "$source_path"
eval bindplane apply "$source_path"
fi

if [ -n "$processor_path" ]; then
echo "Applying processor path: $processor_path"
bindplane apply "$processor_path"
eval bindplane apply "$processor_path"
fi

echo "Applying configuration path: $configuration_path"
bindplane apply "$configuration_path" > configuration.out
eval bindplane apply "$configuration_path" > configuration.out
cat configuration.out

# When auto rollout is enabled
Expand Down

0 comments on commit f369d8e

Please sign in to comment.