From 33b179f94342ffc08d53a66adcbdae5a331570a9 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 10 Aug 2014 11:34:06 +0100 Subject: fixes --- magnet | 1 + 1 file changed, 1 insertion(+) (limited to 'magnet') diff --git a/magnet b/magnet index c60297d..b1b20ee 100755 --- a/magnet +++ b/magnet @@ -1,5 +1,6 @@ #!/bin/bash + cd ~/z [[ "$1" =~ xt=urn:btih:([^&/]+) ]] || exit; echo "d10:magnet-uri${#1}:${1}e" > "meta-${BASH_REMATCH[1]}.torrent" -- cgit v1.2.3