summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/download.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/download.sh b/src/download.sh
index 7565bf6..ba2a609 100644
--- a/src/download.sh
+++ b/src/download.sh
@@ -47,6 +47,12 @@ fini_temp_dir()
return 0
}
+get_temp_dir()
+{
+ printf '%s' "${temp_dir}"
+ return 0
+}
+
dl()
{
local url="${1}"
@@ -71,6 +77,7 @@ dl_temp()
return 1
fi
+ printf '%s/%s' "${temp_dir}" "${file}"
return 0
}