Double quotes

This commit is contained in:
Bob Mottram 2017-05-23 15:38:48 +01:00
parent 0e89a3fba2
commit 7aff83ac98
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ scuttlebot_variables=(MY_USERNAME
function scuttlebot_create_invite {
SCUTTLEBOT_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_scuttlebot/hostname)
invite_string=$(su -c "sbot invite.create 1" - scuttlebot | sed 's/"//g' | sed 's/$DEFAULT_DOMAIN_NAME/$SCUTTLEBOT_ONION_HOSTNAME/g')
invite_string=$(su -c "sbot invite.create 1" - scuttlebot | sed 's/"//g' | sed "s/$DEFAULT_DOMAIN_NAME/$SCUTTLEBOT_ONION_HOSTNAME/g")
clear
echo -e '\n\nYour Scuttlebot invite code is:\n\n'${invite_string}'\n\n'