diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-29 02:53:12 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-30 17:29:55 +0200 |
commit | 84974ed04c16218608312ccf6369cf728eada477 (patch) | |
tree | e492af085e81b604b686f667b7ae694adda2ab5e /doc/submitting-patches.txt | |
parent | c2e6a01a2897e13849e2cdc8291d862d4ea0ee44 (diff) | |
download | pacman-84974ed04c16218608312ccf6369cf728eada477.tar.gz pacman-84974ed04c16218608312ccf6369cf728eada477.tar.xz |
repo-add: fix db creation one last time
We fubar-ed this pretty good.
1. The whole old/new move shuffle was totally busted if you used a
relative path to your database, as we would just build the database in
place.
2. Our prior temp directory layout had the database files extracted
directly into it. When we tried to create a xxx.db.tar.gz file in this
same directory, due to the fact that we were no longer using a shell
wildcard, we tried to include the db in ourself, which is a big failure.
Fix all this by extracting to tree/ so we can have a clean top-level
temp directory.
3. Fix the inclusion of the './' directory entry; ensure the regex
prunes both leading paths of '.' as well as './'.
Where is that test suite again?
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/submitting-patches.txt')
0 files changed, 0 insertions, 0 deletions