diff options
author | Allan McRae <allan@archlinux.org> | 2012-03-09 08:43:47 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-07 18:27:39 +0200 |
commit | 923214497f1873a5bd1989aad867b629166d89b1 (patch) | |
tree | a91b5a5d16ad49eac2edb8280dc24da126f2a39d /lib/libalpm/graph.h | |
parent | 1917c845f74640262e452b67836b41faca52eb4e (diff) | |
download | pacman-923214497f1873a5bd1989aad867b629166d89b1.tar.gz pacman-923214497f1873a5bd1989aad867b629166d89b1.tar.xz |
makepkg: safely change directories
In preparation for the removal of the global error trap we need a
way to ensure changing directories succeeds. Add a "cd_safe"
wrapper that performs the necessary check.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/graph.h')
0 files changed, 0 insertions, 0 deletions