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:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo "Deleting previous bulk folders"
|
echo "Deleting previous bulk folders"
|
||||||
find ./bulk-folders -type d -name "Bulk Folder*" -exec rm -rf "{}" \;
|
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
|
blocks_dir=docker/blocks
|
||||||
docker_dir=docker
|
docker_dir=docker
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
bulkDashboard() {
|
bulkDashboard() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user