From 114eba33bd8905239c0bb8d96d9b2a18c638999c Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Thu, 14 Nov 2019 22:36:37 +0700 Subject: [PATCH] build-release.sh: only checksum files --- build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-release.sh b/build-release.sh index e75891657621..b887df36b45e 100755 --- a/build-release.sh +++ b/build-release.sh @@ -70,7 +70,7 @@ checksum() { fi rm -f "dist/$CHECKSUM_FILE" - ( cd dist && for x in *; do "${CHECKSUM_CMD[@]}" -- "$x" >> "$CHECKSUM_FILE"; done ) + ( cd dist && for x in *; do [ -f "$x" ] && "${CHECKSUM_CMD[@]}" -- "$x" >> "$CHECKSUM_FILE"; done ) } echo "--- Building Release: ${VERSION}"