diff options
Diffstat (limited to 'src/io_archive.c')
-rw-r--r-- | src/io_archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io_archive.c b/src/io_archive.c index ccd512a..bfa8efa 100644 --- a/src/io_archive.c +++ b/src/io_archive.c @@ -291,7 +291,7 @@ int apk_tar_write_entry(struct apk_ostream *os, const struct apk_file_info *ae, PUT_OCTAL(buf.uid, ae->uid); PUT_OCTAL(buf.gid, ae->gid); PUT_OCTAL(buf.mode, ae->mode & 07777); - PUT_OCTAL(buf.mtime, ae->mtime ?: time(NULL)); + PUT_OCTAL(buf.mtime, ae->mtime ?: apk_get_build_time()); /* Checksum */ strcpy(buf.magic, "ustar "); |