fix: changed shebang to make scripts more platform independent (#2893)

See for example this thread:

https://stackoverflow.com/questions/21612980/why-is-usr-bin-env-bash-superior-to-bin-bash

on why its better to use '#!/usr/bin/env bash' instead.
Without this change these scripts will not run on some
platforms. This is not a breaking change for the
platforms it already works on.
This commit is contained in:
Tygo van den Hurk 2025-04-20 10:23:31 +02:00 committed by GitHub
parent 7823a43f62
commit 84772ebf14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT