summaryrefslogtreecommitdiff
path: root/dpkg_deb.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-06-22 09:22:06 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-06-22 09:22:06 +0000
commit8f5b63edea12501b998400789da5646140bb9911 (patch)
tree5a1924092009892cc80f0b0947ec1bae17ca3b1c /dpkg_deb.c
parent52a97ca00cf5d290c9beb65ba7c217a5ed69ee42 (diff)
downloadbusybox-w32-8f5b63edea12501b998400789da5646140bb9911.tar.gz
busybox-w32-8f5b63edea12501b998400789da5646140bb9911.tar.bz2
busybox-w32-8f5b63edea12501b998400789da5646140bb9911.zip
cpio applet, and changes to associated code
Diffstat (limited to 'dpkg_deb.c')
-rw-r--r--dpkg_deb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dpkg_deb.c b/dpkg_deb.c
index 77172b0f6..b1cbb1bbc 100644
--- a/dpkg_deb.c
+++ b/dpkg_deb.c
@@ -26,7 +26,7 @@ extern int dpkg_deb_main(int argc, char **argv)
26 char *output_buffer = NULL; 26 char *output_buffer = NULL;
27 int opt = 0; 27 int opt = 0;
28 int arg_type = 0; 28 int arg_type = 0;
29 int deb_extract_funct = extract_create_dirs; 29 int deb_extract_funct = extract_create_dirs | extract_unconditional;
30 30
31 const int arg_type_prefix = 1; 31 const int arg_type_prefix = 1;
32 const int arg_type_field = 2; 32 const int arg_type_field = 2;
@@ -92,6 +92,7 @@ extern int dpkg_deb_main(int argc, char **argv)
92 strcat(prefix, "/"); 92 strcat(prefix, "/");
93 } 93 }
94 } 94 }
95 mkdir(prefix, 0777);
95 } 96 }
96 97
97 if (arg_type == arg_type_filename) { 98 if (arg_type == arg_type_filename) {