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).
pull/95126/head
Mariell Hoversholm 7 months ago committed by GitHub
parent d0481bb568
commit b420fbe940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      devenv/bulk-folders/bulk-folders.sh
  2. 2
      devenv/create_docker_compose.sh
  3. 2
      devenv/setup.sh

@ -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 "{}" \;

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

2
devenv/setup.sh vendored

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

Loading…
Cancel
Save