quotes
This commit is contained in:
parent
9786dd93e4
commit
d5d74165c0
|
@ -142,8 +142,8 @@ if [[ $MASTER_DRIVE == "yes" || $MASTER_DRIVE == "y" || $MASTER_DRIVE == "1" ]];
|
||||||
export GPG_TTY
|
export GPG_TTY
|
||||||
|
|
||||||
USER_EMAIL_ADDRESS=$MY_USERNAME@$HOSTNAME
|
USER_EMAIL_ADDRESS=$MY_USERNAME@$HOSTNAME
|
||||||
GPG_ID=$(su -m root -c "gpg --list-keys $USER_EMAIL_ADDRESS | sed -n '2p' | sed 's/^[ \t]*//'" - $MY_USERNAME)
|
GPG_ID=$(su -m root -c "gpg --list-keys $USER_EMAIL_ADDRESS | sed -n '2p' | sed 's/^[ \\t]*//'" - "$MY_USERNAME")
|
||||||
GPG_BACKUP_ID=$(su -m root -c "gpg --list-keys \"(backup key)\" | sed -n '2p' | sed 's/^[ \t]*//'" - $MY_USERNAME)
|
GPG_BACKUP_ID=$(su -m root -c "gpg --list-keys \"(backup key)\" | sed -n '2p' | sed 's/^[ \\t]*//'" - "$MY_USERNAME")
|
||||||
|
|
||||||
gpgerrstr=$'error'
|
gpgerrstr=$'error'
|
||||||
gpgkey=$(gpg --homedir="/home/$MY_USERNAME/.gnupg" --armor --export "$GPG_ID")
|
gpgkey=$(gpg --homedir="/home/$MY_USERNAME/.gnupg" --armor --export "$GPG_ID")
|
||||||
|
|
Loading…
Reference in New Issue