aboutsummaryrefslogtreecommitdiff
path: root/archival/rpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/rpm.c')
-rw-r--r--archival/rpm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/archival/rpm.c b/archival/rpm.c
index 3dd4d4777..c9e8785e2 100644
--- a/archival/rpm.c
+++ b/archival/rpm.c
@@ -303,6 +303,9 @@ static void extract_cpio(int fd, const char *source_rpm)
303 303
304 if (source_rpm != NULL) { 304 if (source_rpm != NULL) {
305 /* Binary rpm (it was built from some SRPM), install to root */ 305 /* Binary rpm (it was built from some SRPM), install to root */
306#if ENABLE_PLATFORM_MINGW32
307 if (chdir_system_drive())
308#endif
306 xchdir("/"); 309 xchdir("/");
307 } /* else: SRPM, install to current dir */ 310 } /* else: SRPM, install to current dir */
308 311