Skip to content

Commit

Permalink
Use env shebangs everywhere (#1515)
Browse files Browse the repository at this point in the history
Change all shebangs to use '#!/usr/bin/env bash'.
This increases portability to platforms which do not cohere to the FHS.
  • Loading branch information
Leonard Pollak authored Oct 27, 2021
1 parent 9248ed7 commit db3d556
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion demo/async/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

ADDR=ipc:///tmp/async_demo
COUNT=10
Expand Down
2 changes: 1 addition & 1 deletion etc/codecov.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright 2017 Garrett D'Amore <[email protected]>
# Copyright 2017 Capitar IT Group BV <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion etc/coverage.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright 2017 Garrett D'Amore <[email protected]>
# Copyright 2017 Capitar IT Group BV <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion etc/format-check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# Copyright 2016 Garrett D'Amore <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_ambiguous_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_async_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_dup_proto_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_help_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_incompat_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_pubsub_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_recvmaxsz_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_stdin_pipe_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/nngcat/nngcat_unlimited_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
Expand Down

0 comments on commit db3d556

Please sign in to comment.