mirror of https://github.com/zeldaret/mm.git
Fix /bin/bash -> /usr/bin/env bash (#1793)
This commit is contained in:
parent
c767f49455
commit
89b7bb0d71
|
@ -33,4 +33,4 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &
|
|||
WORKDIR /mm
|
||||
RUN git config --global --add safe.directory /mm
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "-c"]
|
||||
ENTRYPOINT ["/usr/bin/env", "bash", "-c"]
|
||||
|
|
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@
|
|||
MAKEFLAGS += --no-builtin-rules
|
||||
|
||||
# Ensure the build fails if a piped command fails
|
||||
SHELL = /bin/bash
|
||||
SHELL = /usr/bin/env bash
|
||||
.SHELLFLAGS = -o pipefail -c
|
||||
|
||||
# OS Detection
|
||||
|
|
|
@ -29,7 +29,7 @@ and look for `mm` under the "REPOSITORY" column.
|
|||
To start the container, you can mount your local filesystem into the Docker container and run an interactive bash session.
|
||||
|
||||
```bash
|
||||
docker run -it --rm --mount type=bind,source="$(pwd)",destination=/mm mm /bin/bash
|
||||
docker run -it --rm --mount type=bind,source="$(pwd)",destination=/mm mm "/usr/bin/env bash"
|
||||
```
|
||||
|
||||
- The `-it` flags Keep STDIN open even if not attached to the container and allocates a pseudo-tty terminal.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
INPUT="$1"
|
||||
OUTPUT="${INPUT%.*}.o"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Given a list of header files, compute the bss index that results from
|
||||
# including them. (See prevent_bss_reordering.h for more information.)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
STATUSOLD=`git status --porcelain`
|
||||
./tools/format.py -j
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script checks for overlay's relocs to be correctly used on the spec file depending on the overlay's NON_MATCHING/NON_EQUIVALENT
|
||||
# and minimize possible broken NON_MATCHING builds.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
shopt -s globstar
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# This script can be used when you want to test locally the amount of warnings produced by your changes before doing a PR.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Terminal colour codes
|
||||
# when $TERM is empty (non-interactive shell), then expand tput with '-T xterm-256color'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# This script should only be used when we need to modify the accepted amount of warnings.
|
||||
|
|
Loading…
Reference in New Issue