Fix(devenv): use #!/usr/bin/env for bash scripts (#95117)

This solves problems on Linux distros like NixOS and BSDs like FreeBSD that don't provide `/bin/bash`, while also
maintaining support for all other distros out there (AFAIK? even Alpine with its Busybox has /usr/bin/env).
This commit is contained in:
Mariell Hoversholm 2024-10-22 10:20:33 +02:00 committed by GitHub
parent d0481bb568
commit b420fbe940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
echo "Deleting previous bulk folders"
find ./bulk-folders -type d -name "Bulk Folder*" -exec rm -rf "{}" \;

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
blocks_dir=docker/blocks
docker_dir=docker

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
bulkDashboard() {