diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-08-25 23:18:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-08-25 23:18:29 -0300 |
commit | 5facaa065ba86bfdf6c540d039f908804757544e (patch) | |
tree | ac3298a822a628ba169216460fb8de739d7a4c35 /lib | |
parent | ee0a0f9061339e50b509c60f661b4a9308d241c2 (diff) | |
download | httruta-5facaa065ba86bfdf6c540d039f908804757544e.tar.gz httruta-5facaa065ba86bfdf6c540d039f908804757544e.tar.bz2 |
Fixing target handling
Diffstat (limited to 'lib')
-rw-r--r-- | lib/httracker/functions | 4 |
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 |