Ver código fonte

Handle commented out variables

Bob Mottram 7 anos atrás
pai
commit
26c6a36b72
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3
    0
      src/freedombone-utils-android

+ 3
- 0
src/freedombone-utils-android Ver arquivo

59
                 if ! grep -q "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
59
                 if ! grep -q "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
60
                     continue
60
                     continue
61
                 fi
61
                 fi
62
+                if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
63
+                    continue
64
+                fi
62
                 # shellcheck disable=SC2140
65
                 # shellcheck disable=SC2140
63
                 "${app_name_upper}_SHORT_DESCRIPTION"="$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | awk -F '=' '{print $2}')"
66
                 "${app_name_upper}_SHORT_DESCRIPTION"="$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | awk -F '=' '{print $2}')"
64
 
67