summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeikki Halmet <heikki.halmet@qt.io>2018-04-06 12:06:20 +0300
committerLiang Qi <liang.qi@qt.io>2018-04-15 05:55:32 +0000
commitc79d285ffa13590192e7768f7923645c73026a27 (patch)
treea59d1201c7a7a4a91f41c60165d370a9c0840c96
parent2074cadecd8f3676df9845d7d99751372e4f11bb (diff)
Provisioning: Remove sha1 file after shasum check
Change-Id: Iee8e66d98e5ebd2dee18baf8e1752a86065417d1 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
-rwxr-xr-xcoin/provisioning/common/unix/DownloadURL.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/coin/provisioning/common/unix/DownloadURL.sh b/coin/provisioning/common/unix/DownloadURL.sh
index c1e1d6cc..d1f2f1bf 100755
--- a/coin/provisioning/common/unix/DownloadURL.sh
+++ b/coin/provisioning/common/unix/DownloadURL.sh
@@ -56,5 +56,6 @@ function DownloadURL {
echo "Checking SHA1 on PKG '$targetFile'"
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
sha1sum --check $targetFile.sha1
+ rm -f $targetFile.sha1
}