summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-01-03 11:42:06 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2019-01-03 11:44:18 +0000
commitfa5ef314b50ec6c1c00984b36bede870d8a90027 (patch)
tree1eb340eea8937afd9ab3b54046f66fffcf0ccd5d
parent41a59053607e83101c5d2494ab09b9efe4ee344c (diff)
Create dl directory if missing
Fixes build problem from clean checkout introduced in "Autodetect URLs for root fs and SDK".
-rwxr-xr-xbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 76adefd..ffd6643 100755
--- a/build.sh
+++ b/build.sh
@@ -151,6 +151,7 @@ download_sums() {
local sums_file="dl/sha256sums_$(echo $sums_url|md5sum|cut -d ' ' -f 1)"
if ! test -e $sums_file; then
+ test -e "dl" || mkdir "dl"
wget -O $sums_file $sums_url
fi