瀏覽代碼

Add quotes

Bob Mottram 6 年之前
父節點
當前提交
0bd2b8c8f3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-utils-android

+ 1
- 1
src/freedombone-utils-android 查看文件

@@ -62,7 +62,7 @@ function android_update_apps {
62 62
                 if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
63 63
                     continue
64 64
                 fi
65
-                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}')
65
+                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}')"
66 66
 
67 67
                 if grep -q "${app_name_upper}_DESCRIPTION=" "$app_filename"; then
68 68
                     DESCRIPTION="$(grep "${app_name_upper}_DESCRIPTION=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed "s|'||g" | sed 's|\"||g' | awk -F '=' '{print $2}')"