docs: use #!/usr/bin/env bash instead of #!/bin/bash

This commit is contained in:
Delyan Angelov 2023-11-06 08:47:20 +02:00
parent 4e6186ee95
commit b07e3d00e1
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/bash
#!/usr/bin/env bash
## should be run in V's main repo folder!

View File

@ -6231,7 +6231,7 @@ This is an example bash script you can use to optimize your CLI V program withou
In most cases, you will need to change this script to make it suitable for your particular program.
```bash
#!/bin/bash
#!/usr/bin/env bash
# Get the full path to the current directory
CUR_DIR=$(pwd)

View File

@ -119,7 +119,7 @@ Example `v` script for your bin folder:
--------------------------------------------------
```sh
#!/bin/bash
#!/usr/bin/env bash
export VEXE="/opt/vlang/v"
export VFLAGS="-cc /usr/bin/custom_cc"