Use echo instead of cat for variable

This commit is contained in:
Dmitry Porunov 2019-11-01 03:42:02 +04:00
parent 3d3125f4fe
commit 2a391702fd

View File

@ -69,7 +69,7 @@ package-aur:
# Set up SSH for publishing # Set up SSH for publishing
- mkdir -p /root/.ssh - mkdir -p /root/.ssh
- cp ./aur.pub /root/.ssh/id_rsa.pub - cp ./aur.pub /root/.ssh/id_rsa.pub
- cat "$AUR_SSH_PRIVATE" | base64 -d > /root/.ssh/id_rsa - echo "$AUR_SSH_PRIVATE" | base64 -d > /root/.ssh/id_rsa
- echo "Host aur.archlinux.org" >> /root/.ssh/config - echo "Host aur.archlinux.org" >> /root/.ssh/config
- echo " IdentityFile /root/.ssh/aur" >> /root/.ssh/config - echo " IdentityFile /root/.ssh/aur" >> /root/.ssh/config
- echo " User aur" >> /root/.ssh/config - echo " User aur" >> /root/.ssh/config