diff options
author | Maximilian Gaß <mxey@ghosthacking.net> | 2009-06-03 21:13:50 +0200 |
---|---|---|
committer | Maximilian Gaß <mxey@ghosthacking.net> | 2009-06-06 20:20:24 +0200 |
commit | e752dc9376787b2545a0fcdb7594f1ccf1398483 (patch) | |
tree | 47c7e91446db0a45062353b343c6dac44658c2e9 /examples | |
parent | b251c40a72251e47f182a55c9854806a9cb1745d (diff) |
examples/scripts/download.sh: pushd/popd are unnecessary
there is nothing affected by the directory of that shell
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/scripts/download.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/scripts/download.sh b/examples/scripts/download.sh index 0d38d3c..d87335f 100755 --- a/examples/scripts/download.sh +++ b/examples/scripts/download.sh @@ -7,10 +7,9 @@ WGET="wget --user-agent=Firefox" if [[ $8 =~ .*(.torrent) ]] then - pushd $HOME + cd $HOME $WGET $8 else - pushd $HOME + cd $HOME $WGET $8 fi -popd |