diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-06-22 13:22:06 +0400 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-06-22 13:22:06 +0400 |
commit | 8f5b63edea12501b998400789da5646140bb9911 (patch) | |
tree | 5a1924092009892cc80f0b0947ec1bae17ca3b1c /archival/dpkg_deb.c | |
parent | 52a97ca00cf5d290c9beb65ba7c217a5ed69ee42 (diff) |
cpio applet, and changes to associated code
Diffstat (limited to 'archival/dpkg_deb.c')
-rw-r--r-- | archival/dpkg_deb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index 77172b0f6..b1cbb1bbc 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c @@ -26,7 +26,7 @@ extern int dpkg_deb_main(int argc, char **argv) char *output_buffer = NULL; int opt = 0; int arg_type = 0; - int deb_extract_funct = extract_create_dirs; + int deb_extract_funct = extract_create_dirs | extract_unconditional; const int arg_type_prefix = 1; const int arg_type_field = 2; @@ -92,6 +92,7 @@ extern int dpkg_deb_main(int argc, char **argv) strcat(prefix, "/"); } } + mkdir(prefix, 0777); } if (arg_type == arg_type_filename) { |