diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-20 07:18:29 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-20 07:18:29 +0200 |
commit | 36d98b3919d37c7f376c9f0f787a3b4b660da73e (patch) | |
tree | 7ade7c3b81d84ee7b4e58a3399a05a443a3ec3e9 /scripts/repo-add.sh.in | |
parent | 83071f579c4ae14c469d83caa71e80a4be3689df (diff) | |
download | pacman-36d98b3919d37c7f376c9f0f787a3b4b660da73e.tar.gz pacman-36d98b3919d37c7f376c9f0f787a3b4b660da73e.tar.xz |
Improve cachedir removal and error handling
* Check the return value of canonicalize_path() for non-NULL
* Use ASSERT and RET_ERR as appropriate
* Make remove_cachedir() use same path munge logic as add_cachedir()
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/repo-add.sh.in')
0 files changed, 0 insertions, 0 deletions