remove new line character if use agenix

This commit is contained in:
Jany Doe 2024-11-09 22:39:31 +00:00 committed by lewo
parent 1cf6d01989
commit e4aabd3de6

View File

@ -62,7 +62,7 @@ in
cat ${file} > ${destination} cat ${file} > ${destination}
echo -n '${prefix}' >> ${destination} echo -n '${prefix}' >> ${destination}
cat ${passwordFile} >> ${destination} cat ${passwordFile} | tr -d '\n' >> ${destination}
echo -n '${suffix}' >> ${destination} echo -n '${suffix}' >> ${destination}
chmod 600 ${destination} chmod 600 ${destination}
''; '';