summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_check_src.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-06-16 16:32:46 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-06-16 19:27:15 +0200
commit2b84460cc17b9bd3b89494069cd1e169d612c4c5 (patch)
tree1e4d38c28ee36cae6083eb737773c5cfa8432050 /scripts/lib/ptxd_make_world_check_src.sh
parentf5903399bbbe7c0506f77343280c41f50fcf0360 (diff)
downloadptxdist-2b84460cc17b9bd3b89494069cd1e169d612c4c5.tar.gz
ptxdist-2b84460cc17b9bd3b89494069cd1e169d612c4c5.tar.xz
ptxd_make_world_update_md5: be stricter when updating the md5
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_check_src.sh')
-rw-r--r--scripts/lib/ptxd_make_world_check_src.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_check_src.sh b/scripts/lib/ptxd_make_world_check_src.sh
index fa89ec548..aac9a2384 100644
--- a/scripts/lib/ptxd_make_world_check_src.sh
+++ b/scripts/lib/ptxd_make_world_check_src.sh
@@ -71,7 +71,7 @@ ptxd_make_world_update_md5() {
else
makefile="$(readlink -f "${ptxd_reply}")"
fi
- local count=$(grep "\<${PKG}_MD5[ ]*:=" "${makefile}" 2> /dev/null | wc -l)
+ local count=$(grep "^${PKG}_MD5[ ]*:=" "${makefile}" 2> /dev/null | wc -l)
if [ "${count}" -gt 1 ]; then
ptxd_bailout "Could not update md5sum for '${pkg_label}': ${PKG}_MD5 found ${count} times in '$(ptxd_print_path ${makefile})'."
fi