Don't hardcode /bin/bash in scripts (#23740)

Some operating systems, such as NixOS, don't place binaries in /bin. The appropriate cross-platform method is to use /usr/bin/env.
This commit is contained in:
Robin 2022-11-09 09:58:06 -05:00 committed by GitHub
parent bc6d1c3a2b
commit 46c005a5d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Fetches the js-sdk and matrix-react-sdk dependencies for development
# or testing purposes