Skip to content

Unexpected results when -d is passed a relative path #52

@andychu

Description

@andychu

Since the docs say the directory should be absolute, the script should fail if it's not the case

I can send a patch for it

  -d CHROOT_DIR          Absolute path to the directory where Alpine chroot
                         should be installed (default is /alpine).

What happens if I do alpine-chroot-install -d _chroot/foo is that I get the choot in

_chroot/foo/_chroot/foo

which is not friendly or correct

This is because the script assumes absolute paths, but doesn't check it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions