diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:36:15 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:36:15 +0000 |
commit | fac045a958ab853f028a79c32353cb0c51a41d63 (patch) | |
tree | 9b306ad02a9639e739f23246eaa46fe1f3368015 /lib/libalpm/db.c | |
parent | 606c70fdc9a0ee295fe81ec7e6efbbbe142d01be (diff) |
Removed a hardcoded reference to the 'local' database in db_create()
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r-- | lib/libalpm/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index ddf06a89..9682afa9 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -89,7 +89,7 @@ int db_create(char *root, char *dbpath, char *treename) return(-1); } - snprintf(path, PATH_MAX, "%s%s/local", root, dbpath); + snprintf(path, PATH_MAX, "%s%s/%s", root, dbpath); if(_alpm_makepath(path) != 0) { return(-1); } |