Skip to content

Commit e9469bc

Browse files
nmouhahanno-becker
authored andcommitted
Replace /bin/bash by /usr/bin/env bash
Signed-off-by: Nicky Mouha <nmouha@users.noreply.github.com>
1 parent 5db8076 commit e9469bc

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

META.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
33

44
# Helper script to query META.yml

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
run_size_512 run_size_768 run_size_1024 run_size \
2020
host_info
2121

22-
SHELL := /bin/bash
22+
SHELL := /usr/bin/env bash
2323
.DEFAULT_GOAL := build
2424

2525
all: build

proofs/cbmc/Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ CBMC_STARTER_KIT_VERSION = CBMC starter kit 2.11
8888
# results that are hard to explain. Dependency handling in this
8989
# Makefile.common may not be perfect.
9090

91-
SHELL=/bin/bash
91+
SHELL=/usr/bin/env bash
9292

9393
default: report
9494

proofs/cbmc/lib/z3_bv_sort

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright (c) The mlkem-native project authors
33
# SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
44
z3 rewriter.bv_sort_ac=true "$@"

proofs/cbmc/lib/z3_smt_only

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright (c) The mlkem-native project authors
33
# SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
44
z3 tactic.default_tactic=smt "$@"

proofs/cbmc/proof_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,14 +365,14 @@ e.g. to improve proof performance, you can create a small wrapper script and pas
365365
An example of such a script is [lib/z3_smt_only](lib/z3_smt_only) which looks like this:
366366
367367
```
368-
#!/bin/bash
368+
#!/usr/bin/env bash
369369
z3 tactic.default_tactic=smt "$@"
370370
```
371371
372372
There is also a script [lib/z3_bv_sort](lib/z3_bv_sort) which looks like this:
373373
374374
```
375-
#!/bin/bash
375+
#!/usr/bin/env bash
376376
z3 rewriter.bv_sort_ac "$@"
377377
```
378378

0 commit comments

Comments
 (0)