aboutsummaryrefslogtreecommitdiff
path: root/tests/dl-linux-tarball.bash
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dl-linux-tarball.bash')
-rwxr-xr-xtests/dl-linux-tarball.bash8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/dl-linux-tarball.bash b/tests/dl-linux-tarball.bash
index fa27e37..dfff492 100755
--- a/tests/dl-linux-tarball.bash
+++ b/tests/dl-linux-tarball.bash
@@ -10,18 +10,18 @@ SIZE_WANT=96675825
SIZE_ACTUAL=0
if [[ -e $TGZ ]]; then
if [[ $OSTYPE == linux* ]] ; then
- SIZE_ACTUAL=$(stat -c %s $TGZ)
+ SIZE_ACTUAL=$(stat -c %s "$TGZ")
else
# Mac OS X
- SIZE_ACTUAL=$(stat -f %z $TGZ)
+ SIZE_ACTUAL=$(stat -f %z "$TGZ")
fi
fi
if [[ $SIZE_ACTUAL -ne $SIZE_WANT ]]; then
echo "Downloading linux-3.0.tar.gz"
if command -v wget > /dev/null ; then
- wget -nv --show-progress -c -O $TGZ $URL
+ wget -nv --show-progress -c -O "$TGZ" "$URL"
else
- curl -o $TGZ $URL
+ curl -o "$TGZ" "$URL"
fi
fi