0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00

Don't rely on $HOME

This commit is contained in:
Adrian Dvergsdal 2020-07-17 01:14:05 +02:00
parent a41a712b61
commit 84f158b5e6
No known key found for this signature in database
GPG key ID: C1E9E2D9552A42D2

View file

@ -12,7 +12,7 @@ git_options="${*:3}"
# GitHub Actions fix
if [ "$HOME" == "/github/home/" ]; then
if [ -e "/github/home/" ]; then
cp -r /root/.gnupg /github/home/
fi