aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/download.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/data/scripts/download.sh')
-rwxr-xr-xexamples/data/scripts/download.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/data/scripts/download.sh b/examples/data/scripts/download.sh
index f6d34e9..0f051db 100755
--- a/examples/data/scripts/download.sh
+++ b/examples/data/scripts/download.sh
@@ -14,8 +14,7 @@ export http_proxy
test "x$url" = "x" && { echo "you must supply a url! ($url)"; exit 1; }
# only changes the dir for the $get sub process
-if echo "$url" | grep -E '.*\.torrent' >/dev/null;
-then
+if echo "$url" | grep -E '.*\.torrent' >/dev/null; then
( cd "$dest"; $GET "$url")
else
( cd "$dest"; $GET "$url")