hack/populate_secrets: oops, dollars

This commit is contained in:
Luke Granger-Brown 2020-05-10 02:19:11 +01:00
parent e715c20f64
commit aa52f1a64b

View file

@ -7,6 +7,6 @@ while read -r manifest_line; do
manifest_key="$(echo "$manifest_line" | cut -d'=' -f1)"
manifest_value="$(echo "$manifest_line" | cut -d'=' -f2)"
printf "\t%s\n" "${manifest_key}"
eval manifest_key_val=\"\$$manifest_key\"
eval manifest_key_val=\'\$$manifest_key\'
cp "${manifest_key_val}" "${manifest_value}"
done < "$SECRETS_MANIFEST"