Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: fix shebang for static-test.sh #12239

Merged
merged 1 commit into from
Sep 16, 2019
Merged

Conversation

smlng
Copy link
Member

@smlng smlng commented Sep 16, 2019

Contribution description

Change shebang in static-test.sh from /bin/bash to /usr/bin/env bash
This fixes problems when bash is not available in standard location,
but e.g. in /usr/local/bin/ as on FreeBSD.

Testing procedure

run make static-test on your favourite OS which should still work.

Issues/PRs references

#3392

Change shebang in static-test.sh from `/bin/bash` to `/usr/bin/env bash`
This fixes problems when `bash` is not available in standard location,
but e.g. in `/usr/local/bin/` as on FreeBSD.
@smlng smlng added Area: build system Area: Build system Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 16, 2019
@smlng smlng requested a review from miri64 September 16, 2019 08:30
Copy link
Contributor

@aabadie aabadie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

Note that there are other places that could be updated as well:

git grep "/bin/bash"
dist/tools/has_minimal_version/has_minimal_version.sh:#! /bin/bash
dist/tools/openocd/openocd.sh:#!/bin/bash
dist/tools/packer/setup.sh:#!/bin/bash -eux
Binary file pkg/oonf_api/patches/0002-port-tests-to-riot.patch matches

@aabadie aabadie merged commit 0a14706 into RIOT-OS:master Sep 16, 2019
@smlng
Copy link
Member Author

smlng commented Sep 16, 2019

yeah, I'm working my way through it - should I add fixes for the others here too?

@aabadie
Copy link
Contributor

aabadie commented Sep 16, 2019

should I add fixes for the others here too?

too late, sorry. But feel free to open a PR fixing the remaining ones.

@kb2ma kb2ma added this to the Release 2019.10 milestone Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants