Skip to content

Installation fails with busybox sh in $PATH #345

Closed
@gdaszuta

Description

@gdaszuta

So there is one funny behavior which was quite head-scratcher for me – trying to install helm-diff with one of my environments was giving me error:

No prebuild binary for Linlx-amd64.

For some reason I had busybox shell in my $PATH, so installer script was using this, and then tr [:upper:] [:lower:] was working in non-GNU way substituting Linux with Linlx instead of linux.

By the way, original script on https://github.com/technosophos/helm-template/blob/master/install-binary.sh wouldn't fail in the same way, because it is specifically calling /usr/bin/env bash instead of /usr/bin/env sh.

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