summaryrefslogtreecommitdiff
path: root/utils/nwztools/database/nvp/parse_nvp_header.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/database/nvp/parse_nvp_header.sh')
-rwxr-xr-xutils/nwztools/database/nvp/parse_nvp_header.sh3
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
38if [ "`echo "$LIST" | grep "icx_nvp_emmc.h" | wc -l`" = "1" ]; then 38if [ "`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"`
40else 40else
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'`
42fi 43fi
43LIST_CNT=`echo "$LIST" | wc -l` 44LIST_CNT=`echo "$LIST" | wc -l`
44if [ "$LIST_CNT" = "0" ]; then 45if [ "$LIST_CNT" = "0" ]; then