From 5facaa065ba86bfdf6c540d039f908804757544e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 25 Aug 2013 23:18:29 -0300 Subject: Fixing target handling --- lib/httracker/functions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3