From 2b84460cc17b9bd3b89494069cd1e169d612c4c5 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 16 Jun 2014 16:32:46 +0200 Subject: ptxd_make_world_update_md5: be stricter when updating the md5 Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_make_world_check_src.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3