From 7aff83ac9844128ebc5767b364917c40a6978829 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 May 2017 15:38:48 +0100 Subject: [PATCH] Double quotes --- src/freedombone-app-scuttlebot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index c9438253..b99a8a0c 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -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'