hack/populate_secrets: give up on posix compliance

This commit is contained in:
Luke Granger-Brown 2020-05-10 02:24:03 +01:00
parent 58dd878674
commit 06fed43cf0

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}\"" manifest_key_val="${!manifest_key}"
cp "${manifest_key_val}" "${manifest_value}" cp "${manifest_key_val}" "${manifest_value}"
done < "$SECRETS_MANIFEST" done < "$SECRETS_MANIFEST"