(archive) with tar doesn't create proper tar ball

Create issue
Issue #139 resolved
Takashi Kato repo owner created an issue

This should create proper tar ball.

#!scheme
(import (rnrs)
        (archive))

(when (file-exists? "foo.tar") (delete-file "foo.tar"))
(call-with-output-archive-file 'tar "foo.tar"
  (lambda (out)
    (append-entry! out (create-entry out "foo"))
    (append-entry! out (create-entry out "foo/bar"))
    (append-entry! out (create-entry out "foo/buz.txt"))))
However, tar(1) can't read generated file properly.

Comments (1)

  1. Log in to comment