aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/httracker/functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions
index e42e0d8..dcc8f4b 100644
--- a/lib/httracker/functions
+++ b/lib/httracker/functions
@@ -21,7 +21,9 @@ function httracker_get {
# Options
local url="$1"
local hash="`echo $1 | sha1sum | cut -d ' ' -f 1`"
- local target="$MIRRORS/$hash"
+
+ # Set target
+ target="$MIRRORS/$hash"
# Make sure that target exists
mkdir -p $target