diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-11 22:15:07 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-12 00:18:46 +0100 |
commit | 7ce90bb135c04b4421ca2824099e6e72659721b1 (patch) | |
tree | 603a1238714a3c32ffa7008a0d0f570e31a52a77 /install-sh | |
parent | a9cbd15260b396c38b7d5ffe5669994e65f9a86f (diff) | |
download | pacman-7ce90bb135c04b4421ca2824099e6e72659721b1.tar.gz pacman-7ce90bb135c04b4421ca2824099e6e72659721b1.tar.xz |
repo-add: use pushd/popd
Rather than explicit cd calls, we can use the directory stack to our
advantage. This also removes the need to store and restore $startdir, so
kill the variable entirely.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions