From bacc9f3b1ee664b74a23c9eebe67c8ae54ed28ee Mon Sep 17 00:00:00 2001 From: ptrcnull <git@ptrcnull.me> Date: Sun, 19 May 2024 22:58:20 +0200 Subject: [PATCH] CODINGSTYLE.md: forbid quoting pkgname/pkgver already enforced by apkbuild-lint (AL3,AL4) + "below" doesn't say much about quoting --- CODINGSTYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODINGSTYLE.md b/CODINGSTYLE.md index fa5311dbf94f..976b93f5dc00 100644 --- a/CODINGSTYLE.md +++ b/CODINGSTYLE.md @@ -67,7 +67,7 @@ Put `; do` and `; then` on the same line as the `while`, `for` or `if`. ### Quoting * Always quote string literals (exceptions are assigning `pkgname` and - `pkgver`, more on this below). + `pkgver`, which must not be quoted). * Always quote variables, command substitutions or shell meta characters when used in strings. Prefer `"$var"/foo/bar` over `"$var/foo/bar"`. * Never quote literal integers. -- GitLab