summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-11 22:15:07 +0100
committerDan McGee <dan@archlinux.org>2011-01-12 00:18:46 +0100
commit7ce90bb135c04b4421ca2824099e6e72659721b1 (patch)
tree603a1238714a3c32ffa7008a0d0f570e31a52a77 /lib/libalpm/alpm.c
parenta9cbd15260b396c38b7d5ffe5669994e65f9a86f (diff)
downloadpacman-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 'lib/libalpm/alpm.c')
0 files changed, 0 insertions, 0 deletions