Skip to content

Commit e933cd9

Browse files
authored
tools: add note for vrun on OpenBSD (env -S not supported) (#26352)
1 parent fec3463 commit e933cd9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cmd/tools/vrun

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ v run $@
55
## the `/usr/bin/env` implementation, does not yet support a `-S` option.
66
## Notes: FreeBSD's env supports it since 2006.
77
## GNU's coreutils env supports it since 2018.
8-
## However, for example BusyBox's env still does not (2025/02/04), and there may
9-
## be others like it too :-| .
8+
## BusyBox's env does not support it (2025/02/04).
9+
## OpenBSD's env does not support it (2026/01/14).
10+
## And there may be others like it too :-| .
1011

1112
## On such systems, you can copy this script, or symlink it, somewhere in your PATH,
1213
## and then start your .vsh scripts with: `#!/usr/bin/env vrun`.

doc/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8421,7 +8421,7 @@ exists the file will be overridden. If you want to rebuild each time and not kee
84218421
instead use `#!/usr/bin/env -S v -raw-vsh-tmp-prefix tmp run`.
84228422
84238423
Note: there is a small shell script `cmd/tools/vrun`, that can be useful for systems, that have an
8424-
env program (`/usr/bin/env`), that still does not support an `-S` option (like BusyBox).
8424+
env program (`/usr/bin/env`), that still does not support an `-S` option (like BusyBox and OpenBSD).
84258425
See https://github.com/vlang/v/blob/master/cmd/tools/vrun for more details.
84268426
84278427
# Appendices

0 commit comments

Comments
 (0)