aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/download.sh
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 20:48:54 -0500
committerGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 22:32:30 -0500
commit03e2f59ec0959ba4dec30a903ac060d74e5fdac5 (patch)
treef3bec45fd98ac450f0988a8ef79cc26bde9213fd /examples/data/scripts/download.sh
parent6cb7be2b071f5e540c33ecc5e21ab22c81434834 (diff)
Add padding inside of braces
Diffstat (limited to 'examples/data/scripts/download.sh')
-rwxr-xr-xexamples/data/scripts/download.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/download.sh b/examples/data/scripts/download.sh
index 6bcd9d1..7753bd6 100755
--- a/examples/data/scripts/download.sh
+++ b/examples/data/scripts/download.sh
@@ -11,7 +11,7 @@
# the URL that is being downloaded
uri="$1"
-safe_uri="$(echo "$uri" | sed -e 's/\W/-/g')"
+safe_uri="$( echo "$uri" | sed -e 's/\W/-/g' )"
# a filename suggested by the server or based on the URL
suggested_filename="${2:-$safe_uri}"