From 8c7d4984b71c5293a1ade7e3f25be60c28a03341 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 15 Oct 2019 20:08:46 +0000 Subject: [PATCH] [build] only calculate md5sum for spec binary Signed-off-by: Leo Chen --- scripts/go_executable_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/go_executable_build.sh b/scripts/go_executable_build.sh index fb2b94cfe..37b04a6bc 100755 --- a/scripts/go_executable_build.sh +++ b/scripts/go_executable_build.sh @@ -114,8 +114,9 @@ function build_only fi fi done - - $MD5 $BINDIR/* > $BINDIR/md5sum.txt 2> /dev/null + pushd $BINDIR + $MD5 "${!SRC[@]}" > md5sum.txt + popd } function upload