Skip to content

Commit ca42610

Browse files
taylorhoward92mergify[bot]
authored andcommitted
Use portable shebang (#!/usr/bin/env bash) for bash scripts (#542)
Replace #!/bin/bash with #!/usr/bin/env bash for portability across systems where bash may not be installed at /bin/bash (e.g. NixOS, some BSDs, non-standard installations). Generated-by: Claude <noreply@anthropic.com> Signed-off-by: Taylor Howard <taylorhoward@me.com> (cherry picked from commit d67ce48)
1 parent b94dc29 commit ca42610

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/test_c_child_requires_c_no_deps.bash

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
TEST_STATUS=0
33

44
echo

test/cmake_minimum_required.bash

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
# Verify that cmake_minimum_required statements have matching version numbers
33

44
export CMAKE_FILES_TO_CHECK="

0 commit comments

Comments
 (0)