mirror of
https://github.com/sharkdp/bat.git
synced 2025-07-26 08:49:42 +01:00
Replace #!/bin/bash with #!/usr/bin/env bash to improve compatibility with systems where /bin/bash is not available
This commit is contained in:
2
tests/syntax-tests/regression_test.sh
vendored
2
tests/syntax-tests/regression_test.sh
vendored
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eou pipefail
|
||||
|
||||
|
2
tests/syntax-tests/update.sh
vendored
Normal file → Executable file
2
tests/syntax-tests/update.sh
vendored
Normal file → Executable file
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
python="python3"
|
||||
if ! command -v python3 &>/dev/null; then python="python"; fi
|
||||
|
Reference in New Issue
Block a user