diff options
author | Simo Leone <simo@archlinux.org> | 2007-10-06 21:58:16 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-10-06 21:58:16 -0500 |
commit | 192b24f829953ff2bb0e86ac6bdc686b42d9f0b8 (patch) | |
tree | 9a2be0e212091d999ec7e7425f7cbf28dc6d4462 /makechrootpkg | |
parent | 656a54014bb63dc1ce5b6f3037111fbbbd786529 (diff) | |
download | devtools-192b24f829953ff2bb0e86ac6bdc686b42d9f0b8.tar.xz |
Trap EXIT and use relative cache and db paths
Trapping exit ensures that unmounting occurs in the event of an exit 1
or a normal exit. Pacman 3.0.6 takes cachedir and dbpath to be relative
to it's given root, not absolute.
Signed-off-by: Simo Leone <simo@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'makechrootpkg')
0 files changed, 0 insertions, 0 deletions