Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Should document that the tar extraction will strip 1 leading component of filenames #39

Description

@Gnarus-G

I apologize if this is actually documented somewhere outside of the code. I couldn't find it.

Currently, if your tarball looks like

file
dir/file

since strip is set to 1, you lose file, and most annoyingly if your whole tarball is just single file name components, you lose everything in the extraction - I just wrestled with this case myself before I learned all this about tar and the strip option.

I propose documenting this stripping as core assumption of binary-install, so people know how to pack their balls.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions