Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-01 02:16:13 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-01 02:16:13 +0000
commit2e35d8c1875c7bf287f71e09bf63f18f763e2f67 (patch)
treeea10f96a252861f9c110b69a777c6ad6e38040cb
parentfafeb32c9d9f067c44ed1f8bdbd8295af45a1c91 (diff)
-Ql needs the 'root' prepended to each file
-rw-r--r--src/pacman/package.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index ae46d624..15c227cf 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -203,7 +203,8 @@ void dump_pkg_files(pmpkg_t *pkg)
pkgfiles = alpm_pkg_get_files(pkg);
for(i = pkgfiles; i; i = alpm_list_next(i)) {
- fprintf(stdout, "%s %s\n", (char *)pkgname, (char *)alpm_list_getdata(i));
+ fprintf(stdout, "%s %s%s\n", pkgname, alpm_option_get_root(),
+ (char *)alpm_list_getdata(i));
}
fflush(stdout);