summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-08-24 00:09:34 (EDT)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-08-24 00:09:34 (EDT)
commitf637389e79f9fb04b73d4fe254fea63e9b077a94 (patch)
tree3d9e0a82376687b2d785778692ca4b960e810ae8 /libopkg
parent0066c1ac6151d99b95453eeab3307e99f5884a45 (diff)
Accept a leading "./" for the control file name, but don't mandate it.
git-svn-id: http://opkg.googlecode.com/svn/trunk@558 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/pkg_extract.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopkg/pkg_extract.c b/libopkg/pkg_extract.c
index b7d924c..0f21e40 100644
--- a/libopkg/pkg_extract.c
+++ b/libopkg/pkg_extract.c
@@ -29,8 +29,7 @@ pkg_extract_control_file_to_stream(pkg_t *pkg, FILE *stream)
deb_extract(pkg->local_filename, stream,
extract_control_tar_gz
| extract_to_stream,
- NULL, "./control", &err);
-
+ NULL, "control", &err);
return err;
}