summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmill3
1 files changed, 2 insertions, 1 deletions
diff --git a/mill b/mill
index 874c26e..74f1d62 100755
--- a/mill
+++ b/mill
@@ -20,6 +20,7 @@ if [ ! -x "$MILL_EXEC_PATH" ] ; then
MILL_DOWNLOAD_URL="https://github.com/lihaoyi/mill/releases/download/${MILL_VERSION%%-*}/$MILL_VERSION"
curl --fail -L -o "$DOWNLOAD_FILE" "$MILL_DOWNLOAD_URL"
chmod +x "$DOWNLOAD_FILE"
+ mkdir -p "$MILL_DOWNLOAD_PATH"
mv "$DOWNLOAD_FILE" "$MILL_EXEC_PATH"
unset DOWNLOAD_FILE
unset MILL_DOWNLOAD_URL
@@ -28,4 +29,4 @@ fi
unset MILL_DOWNLOAD_PATH
unset MILL_VERSION
-exec $MILL_EXEC_PATH "$@"
+exec $MILL_EXEC_PATH "$@" \ No newline at end of file