diff options
author | Allan McRae <allan@archlinux.org> | 2012-03-09 17:43:47 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-07 11:27:39 -0500 |
commit | 923214497f1873a5bd1989aad867b629166d89b1 (patch) | |
tree | a91b5a5d16ad49eac2edb8280dc24da126f2a39d /config.sub | |
parent | 1917c845f74640262e452b67836b41faca52eb4e (diff) | |
download | 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 'config.sub')
0 files changed, 0 insertions, 0 deletions