Skip to content

Commit c74f696

Browse files
committed
Use /usr/bin/env for calling bash
1 parent c55355e commit c74f696

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

addSanity.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -ex
33

44
# $(replace_in_file pattern file)

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -euo pipefail
33

44
PKG_ENV_FILE="_build/shake-package-env-$(ghc --numeric-version)"

distribution/build-linux-arm64-musl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ declare -f build_binary_docker
103103
# docker -H ssh://root@lamdera-falkenstein-arm64-1 run \
104104
# -v /root/compiler:/root/compiler \
105105
# -it registry.gitlab.b-data.ch/ghc/ghc4pandoc:9.2.7 \
106-
# /bin/bash
106+
# /usr/bin/env bash
107107

108108
mkdir -p $dist
109109

distribution/common.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
export version="1.2.1"

ext-package-cache/testCompress.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -ex
33

44
# tar cf - . | zip backup -

extra/npm/publish-all.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -ex
33

44
# The publish will fail if the package name and version combination already exists in the specified registry.

package/linux/build-in-docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
set -euo pipefail
44

removeSanity.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -ex
33

44
if [ "$OS" != 'Darwin' ]; then

0 commit comments

Comments
 (0)