hack/populate_secrets: try again

This commit is contained in:
Luke Granger-Brown 2020-05-10 02:21:18 +01:00
parent aa52f1a64b
commit 58dd878674

View file

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