summaryrefslogtreecommitdiffstats
path: root/build/cache.sh
diff options
context:
space:
mode:
authorMichael Chapman <michapma@redhat.com>2016-07-11 21:10:04 -0400
committerMichael Chapman <michapma@redhat.com>2016-07-12 03:40:30 -0400
commit679c5f5ca0e905ccb9b8c67603f068bbff9a506c (patch)
treef533002cc00efc10f7fb5ab8dca6100f62f9ab4e /build/cache.sh
parent23530516f2ceca4f1215140a287016288923ad47 (diff)
Prevent printing remote md5 sum
If the remote file is a binary or other junk, we don't want to print it to the console, so just state it's not a match for now. Add puppet logging hack to help debug CI Change-Id: Ia4717ee0cf7a2fc01299d0819c49218487ffdf15 Signed-off-by: Michael Chapman <michapma@redhat.com>
Diffstat (limited to 'build/cache.sh')
-rw-r--r--build/cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cache.sh b/build/cache.sh
index 123748a2..4d41a7a2 100644
--- a/build/cache.sh
+++ b/build/cache.sh
@@ -60,7 +60,7 @@ function populate_cache {
else
my_md5=$(grep ${filename} $CACHE_DIR/.cache | awk {'print $1'})
if [ "$remote_md5" != "$my_md5" ]; then
- echo "MD5 mismatch: Remote MD5 is ${remote_md5}, Cache file MD5 is ${my_md5}"
+ echo "MD5 mismatch, cache file MD5 is ${my_md5}"
echo "Downloading $filename"
curl_file $1 $filename
else