diff options
Diffstat (limited to 'utils/nwztools/database/nvp/parse_nvp_header.sh')
-rwxr-xr-x | utils/nwztools/database/nvp/parse_nvp_header.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/nwztools/database/nvp/parse_nvp_header.sh b/utils/nwztools/database/nvp/parse_nvp_header.sh index ee2be93516..88fdb1dd4b 100755 --- a/utils/nwztools/database/nvp/parse_nvp_header.sh +++ b/utils/nwztools/database/nvp/parse_nvp_header.sh | |||
@@ -38,7 +38,8 @@ fi | |||
38 | if [ "`echo "$LIST" | grep "icx_nvp_emmc.h" | wc -l`" = "1" ]; then | 38 | if [ "`echo "$LIST" | grep "icx_nvp_emmc.h" | wc -l`" = "1" ]; then |
39 | LIST=`echo "$LIST" | grep "icx_nvp_emmc.h"` | 39 | LIST=`echo "$LIST" | grep "icx_nvp_emmc.h"` |
40 | else | 40 | else |
41 | LIST=`echo "$LIST" | grep 'icx[[:digit:]]*_nvp[[:alpha:]_]*.h'` | 41 | # otherwise find any file named icx_nvp*.h but filter out icx_nvp_wrapper.h |
42 | LIST=`echo "$LIST" | grep 'icx[[:digit:]]*_nvp[[:alpha:]_]*.h' | sed '/icx_nvp_wrapper/d'` | ||
42 | fi | 43 | fi |
43 | LIST_CNT=`echo "$LIST" | wc -l` | 44 | LIST_CNT=`echo "$LIST" | wc -l` |
44 | if [ "$LIST_CNT" = "0" ]; then | 45 | if [ "$LIST_CNT" = "0" ]; then |