projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b251c40
)
examples/scripts/download.sh: pushd/popd are unnecessary
author
Maximilian Gaß
<mxey@ghosthacking.net>
Wed, 3 Jun 2009 19:13:50 +0000
(21:13 +0200)
committer
Maximilian Gaß
<mxey@ghosthacking.net>
Sat, 6 Jun 2009 18:20:24 +0000
(20:20 +0200)
there is nothing affected by the directory of that shell
examples/scripts/download.sh
patch
|
blob
|
history
diff --git
a/examples/scripts/download.sh
b/examples/scripts/download.sh
index
0d38d3c
..
d87335f
100755
(executable)
--- 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