Skip to content

Commit 11522a0

Browse files
Merge pull request #1746 from stretchr/dolmen/fix-CI-script-shebang
CI: fix shebang in .ci.*.sh scripts
2 parents 9fc264e + af716f8 commit 11522a0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.ci.gofmt.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

33
if [ -n "$(gofmt -l .)" ]; then
44
echo "Go code is not formatted:"

.ci.gogenerate.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

33
# If GOMOD is defined we are running with Go Modules enabled, either
44
# automatically or via the GO111MODULE=on environment variable. Codegen only

.ci.govet.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

33
set -e
44

.ci.readme.fmt.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

33
# Verify that the code snippets in README.md are formatted.
44
# The tool https://github.com/hougesen/mdsf is used.

0 commit comments

Comments
 (0)