summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-09 10:39:55 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-09 10:39:55 +0200
commit478ec787f36ddac045dceb5727a699b7359bbbe7 (patch)
tree6a2a7a21c1575789cb0bad5520ad1976c0e19a67
parent88c020f771f477aa70b7251dde762cd8fb6fbf0d (diff)
downloadlibrpm-tizen-478ec787f36ddac045dceb5727a699b7359bbbe7.tar.gz
librpm-tizen-478ec787f36ddac045dceb5727a699b7359bbbe7.tar.bz2
librpm-tizen-478ec787f36ddac045dceb5727a699b7359bbbe7.zip
Permit files with glob characters in *.rpm packages (#147383)
Patch from Alexander Suvorov
-rw-r--r--build/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index e6fa60cba..cb558791f 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1741,7 +1741,7 @@ static rpmRC processBinaryFile(Package pkg, FileList fl,
}
rc = rpmGlob(diskURL, &argc, &argv);
- if (rc == 0 && argc >= 1 && !glob_pattern_p(argv[0], quote)) {
+ if (rc == 0 && argc >= 1) {
for (i = 0; i < argc; i++) {
rc = addFile(fl, argv[i], NULL);
argv[i] = _free(argv[i]);