From 87b0a3b052cdd0d0c3f255a6c2a1f82855510a2d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 6 Mar 2018 16:18:20 +0000 Subject: [PATCH] Fix substitutions --- src/freedombone-app-nextcloud | 2 +- src/freedombone-app-pleroma | 2 +- src/freedombone-app-postactiv | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-nextcloud b/src/freedombone-app-nextcloud index ba5acead..f91888fd 100755 --- a/src/freedombone-app-nextcloud +++ b/src/freedombone-app-nextcloud @@ -138,7 +138,7 @@ function install_interactive_nextcloud { # remove any invalid characters if [ ${#NEXTCLOUD_TITLE} -gt 0 ]; then - new_title=${"$NEXTCLOUD_TITLE"//\'//} + new_title=${NEXTCLOUD_TITLE//\'/} NEXTCLOUD_TITLE="$new_title" fi diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 0df55e69..14819290 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -353,7 +353,7 @@ function install_interactive_pleroma { # remove any invalid characters if [ ${#PLEROMA_TITLE} -gt 0 ]; then - new_title=${"$PLEROMA_TITLE"//\'//} + new_title=${PLEROMA_TITLE//\'/} PLEROMA_TITLE="$new_title" fi diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 17b0a57d..29f0e37c 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -180,7 +180,7 @@ function install_interactive_postactiv { # remove any invalid characters if [ ${#POSTACTIV_TITLE} -gt 0 ]; then - new_title=${"$POSTACTIV_TITLE"//\'/} + new_title=${POSTACTIV_TITLE//\'/} POSTACTIV_TITLE="$new_title" fi