hack/populate_secret: oops, did it wrong
This commit is contained in:
parent
5f1f8bd386
commit
44018a1a07
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ set -eu
|
||||||
|
|
||||||
echo Dropping files into place as defined by manifest...
|
echo Dropping files into place as defined by manifest...
|
||||||
while read -r manifest_line; do
|
while read -r manifest_line; do
|
||||||
manifest_key="$(echo "$manifest_line" | cut -f'=' -f1)"
|
manifest_key="$(echo "$manifest_line" | cut -d'=' -f1)"
|
||||||
manifest_value="$(echo "$manifest_line" | cut -f'=' -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}"
|
||||||
|
|
Loading…
Reference in a new issue