From e752dc9376787b2545a0fcdb7594f1ccf1398483 Mon Sep 17 00:00:00 2001 From: Maximilian Gaß Date: Wed, 3 Jun 2009 21:13:50 +0200 Subject: examples/scripts/download.sh: pushd/popd are unnecessary there is nothing affected by the directory of that shell --- examples/scripts/download.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3