Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Use bash from the environment instead of absolute path #1660

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

kalbasit
Copy link
Contributor

@kalbasit kalbasit commented Oct 22, 2020

Not all operating systems ship with bash located at /bin/bash. Change the interpreter to /usr/bin/env bash to request bash from the environment.

For instance, I use NixOS as my daily driver and this operating system does not follow FHS; In fact it does not have a /bin and the only thing in /usr/bin is env.

Related to bazel-contrib/rules_go#2295

Not all operating systems ship with bash located at `/bin/bash`. Change
the interpreter to `/usr/bin/env bash` to request bash from the
environment.
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kalbasit, smukherj1

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@smukherj1
Copy link
Collaborator

/gcbrun

@smukherj1
Copy link
Collaborator

CI is failing due to a known infra issue. Will need to retry tomorrow

@smukherj1 smukherj1 merged commit a8b3c6c into bazelbuild:master Oct 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants