mirror of
https://github.com/vlang/v.git
synced 2025-08-04 02:07:28 -04:00
docs: use #!/usr/bin/env bash
instead of #!/bin/bash
This commit is contained in:
parent
4e6186ee95
commit
b07e3d00e1
2
.github/workflows/build_vinix_locally.sh
vendored
2
.github/workflows/build_vinix_locally.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
2
.github/workflows/freebsd_build_tcc.sh
vendored
2
.github/workflows/freebsd_build_tcc.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/usr/local/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
## should be run in V's main repo folder!
|
## should be run in V's main repo folder!
|
||||||
|
|
||||||
|
@ -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.
|
In most cases, you will need to change this script to make it suitable for your particular program.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Get the full path to the current directory
|
# Get the full path to the current directory
|
||||||
CUR_DIR=$(pwd)
|
CUR_DIR=$(pwd)
|
||||||
|
@ -119,7 +119,7 @@ Example `v` script for your bin folder:
|
|||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
export VEXE="/opt/vlang/v"
|
export VEXE="/opt/vlang/v"
|
||||||
export VFLAGS="-cc /usr/bin/custom_cc"
|
export VFLAGS="-cc /usr/bin/custom_cc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user