xbps-pkgdb: always set rootdir as an empty string, otherwise if -r
is not specified it will fail to get the regpkgdb plist file. Bug found by pancake. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091019214947-cv57nebkpo48spce
This commit is contained in:
parent
fc659323a9
commit
bc3eeeec58
@ -91,7 +91,7 @@ main(int argc, char **argv)
|
||||
{
|
||||
prop_dictionary_t dict;
|
||||
const char *version;
|
||||
char *plist, *pkgname, *in_chroot_env, *root = NULL;
|
||||
char *plist, *pkgname, *in_chroot_env, *root = "";
|
||||
bool in_chroot = false;
|
||||
int c, rv = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user