From c32d3884ac431e546ee0c83c7ade806c6e5937cc Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Fri, 25 May 2018 18:53:28 +0100
Subject: [PATCH] Remove quotes

---
 src/freedombone-utils-android | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/freedombone-utils-android b/src/freedombone-utils-android
index 2393d1964..97f4f22dc 100755
--- a/src/freedombone-utils-android
+++ b/src/freedombone-utils-android
@@ -62,16 +62,16 @@ function android_update_apps {
                 if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
                     continue
                 fi
-                SHORT_DESCRIPTION=$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | sed 's|\$||g' | awk -F '=' '{print $2}')
+                SHORT_DESCRIPTION=$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed "s|'||g" | sed 's|\"||g' | awk -F '=' '{print $2}')
 
                 if grep -q "${app_name_upper}_DESCRIPTION=" "$app_filename"; then
-                    DESCRIPTION="$(grep "${app_name_upper}_DESCRIPTION=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed 's|\$||g' | awk -F '=' '{print $2}')"
+                    DESCRIPTION="$(grep "${app_name_upper}_DESCRIPTION=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed "s|'||g" | sed 's|\"||g' | awk -F '=' '{print $2}')"
                 fi
                 if grep -q "${app_name_upper}_ICON_URL=" "$app_filename"; then
-                    ICON_URL="$(grep "${app_name_upper}_ICON_URL=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed 's|\$||g' | awk -F '=' '{print $2}')"
+                    ICON_URL="$(grep "${app_name_upper}_ICON_URL=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed 's|\$||g' | sed "s|'||g" | sed 's|\"||g' | awk -F '=' '{print $2}')"
                 fi
                 if grep -q "${app_name_upper}_MOBILE_APP_URL=" "$app_filename"; then
-                    MOBILE_APP_URL="$(grep "${app_name_upper}_MOBILE_APP_URL=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed 's|\$||g' | awk -F '=' '{print $2}')"
+                    MOBILE_APP_URL="$(grep "${app_name_upper}_MOBILE_APP_URL=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed 's|\$||g' | sed "s|'||g" | sed 's|\"||g' | awk -F '=' '{print $2}')"
                 fi
 
                 if [ $android_ctr -gt 0 ]; then
-- 
GitLab