Skip to content

Commit 124a819

Browse files
committed
config: Replace '$GOOS' with 'GOOS', etc.
Windows' cmd.exe prefers wrapping in % (e.g. %GOOS%) [1], and Rob Dolin has asked for the POSIX $ to be removed [2]. In this case, I think the context is sufficient that we can just use the variable name instead of Rob's recommended "for the environment variable FOO". [1]: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?mfr=true [2]: #477 (comment) Signed-off-by: W. Trevor King <[email protected]>
1 parent 18f4f18 commit 124a819

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ For Windows based systems the user structure has the following fields:
298298

299299
* **`os`** (string, REQUIRED) specifies the operating system family of the container configuration's specified [`root`](#root) file system bundle.
300300
The runtime MUST generate an error if it does not support the specified **`os`**.
301-
Bundles SHOULD use, and runtimes SHOULD understand, **`os`** entries listed in the Go Language document for [`$GOOS`][go-environment].
302-
If an operating system is not included in the `$GOOS` documentation, it SHOULD be submitted to this specification for standardization.
301+
Bundles SHOULD use, and runtimes SHOULD understand, **`os`** entries listed in the Go Language document for [`GOOS`][go-environment].
302+
If an operating system is not included in the `GOOS` documentation, it SHOULD be submitted to this specification for standardization.
303303
* **`arch`** (string, REQUIRED) specifies the instruction set for which the binaries in the specified [`root`](#root) file system bundle have been compiled.
304304
The runtime MUST generate an error if it does not support the specified **`arch`**.
305-
Values for **`arch`** SHOULD use, and runtimes SHOULD understand, **`arch`** entries listed in the Go Language document for [`$GOARCH`][go-environment].
306-
If an architecture is not included in the `$GOARCH` documentation, it SHOULD be submitted to this specification for standardization.
305+
Values for **`arch`** SHOULD use, and runtimes SHOULD understand, **`arch`** entries listed in the Go Language document for [`GOARCH`][go-environment].
306+
If an architecture is not included in the `GOARCH` documentation, it SHOULD be submitted to this specification for standardization.
307307

308308
### Example
309309

0 commit comments

Comments
 (0)