doc: fix vup/vself replacement scripts (#21092)

This commit is contained in:
David Legrand 2024-03-25 11:17:57 +01:00 committed by GitHub
parent 6b23b1dd25
commit 9ad84ddc21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,13 +97,13 @@ efforts:
```sh
echo "println('use your package manager to update V," > cmd/tools/vup.v
echo "or if you want more recent V versions, just clone V from source," > cmd/tools/vup.v
echo "see https://github.com/vlang/v#installing-v-from-source')" > cmd/tools/vup.v
echo "or if you want more recent V versions, just clone V from source," >> cmd/tools/vup.v
echo "see https://github.com/vlang/v#installing-v-from-source')" >> cmd/tools/vup.v
echo "println('v self is disabled for packaged versions of V." > cmd/tools/vself.v
echo "Use your package manager, to update your V package instead." > cmd/tools/vself.v
echo "Alternatively, if you do want a more recent V version, just clone V from source," > cmd/tools/vself.v
echo "then follow the instructions here: https://github.com/vlang/v#installing-v-from-source')" > cmd/tools/vself.v
echo "Use your package manager, to update your V package instead." >> cmd/tools/vself.v
echo "Alternatively, if you do want a more recent V version, just clone V from source," >> cmd/tools/vself.v
echo "then follow the instructions here: https://github.com/vlang/v#installing-v-from-source')" >> cmd/tools/vself.v
v -prod -o v cmd/v ## build V itself with -prod
./v -prod build-tools ## build all tools with -prod too