summaryrefslogtreecommitdiffstats
path: root/support/download/check-hash
diff options
context:
space:
mode:
Diffstat (limited to 'support/download/check-hash')
-rwxr-xr-xsupport/download/check-hash2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/download/check-hash b/support/download/check-hash
index 4c07274cc9..cee64ef310 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -23,7 +23,7 @@ file="${2}"
base="${3}"
# Does the hash-file exist?
-if [ ! -f "${h_file}" ]; then
+if [ -z "${h_file}" -o ! -f "${h_file}" ]; then
exit 0
fi
OpenPOWER on IntegriCloud