Remove quotes
This commit is contained in:
parent
b96ab2849d
commit
c32d3884ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue