summaryrefslogtreecommitdiff
path: root/magnet
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-09-21 11:31:14 +0100
committerPatrick Simianer <p@simianer.de>2014-09-21 11:31:14 +0100
commit0aae427eb3838297f6e204c2961739ef834762cf (patch)
treec533ade19b5c699a2edb4b309e8fd40cc4c03239 /magnet
parent6571bd6dd7b80927a17c9639c93c888e5cc98a53 (diff)
rm superfluous whitespace
Diffstat (limited to 'magnet')
-rwxr-xr-xmagnet3
1 files changed, 1 insertions, 2 deletions
diff --git a/magnet b/magnet
index b1b20ee..c380cc6 100755
--- a/magnet
+++ b/magnet
@@ -1,7 +1,6 @@
#!/bin/bash
-
-cd ~/z
+cd ~/tmp
[[ "$1" =~ xt=urn:btih:([^&/]+) ]] || exit;
echo "d10:magnet-uri${#1}:${1}e" > "meta-${BASH_REMATCH[1]}.torrent"