summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@ciaranm.org>2007-04-12 18:58:51 +0000
committerCiaran McCreesh <ciaranm@ciaranm.org>2007-04-12 18:58:51 +0000
commitbd0144c9ff665801697ca0d48885bc14115b3132 (patch)
tree70f53eaf6dd9d79289ef22e1f522ec54a8a4cfb8 /profiles.tex
parentmetadata/cache wording. Gentoo#174317 (diff)
downloadpms-bd0144c9ff665801697ca0d48885bc14115b3132.tar.gz
pms-bd0144c9ff665801697ca0d48885bc14115b3132.tar.bz2
pms-bd0144c9ff665801697ca0d48885bc14115b3132.zip
key/value wording. Gentoo#174319
git-svn-id: http://svn.repogirl.net/pms/trunk@157 a05a4626-2124-0410-b604-e6c5abf33261
Diffstat (limited to 'profiles.tex')
-rw-r--r--profiles.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/profiles.tex b/profiles.tex
index 8081270..3861ccf 100644
--- a/profiles.tex
+++ b/profiles.tex
@@ -37,13 +37,16 @@ This file is unusual in that it is not combined at a file level with the parent-
variable is combined or overridden individually as described in section \ref{profile-variables}.
The file itself is a line-based key-value format. Each line contains a single \verb|VAR="value"|
-entry. Additional syntax, which is a small subset of bash syntax, is allowed as follows:
+entry, where the value must be double quoted. A variable name must start with one of \t{a-zA-Z}
+and may contain \t{a-zA-Z0-9\_\\-}. Additional syntax, which is a small subset of
+bash syntax, is allowed as follows:
\begin{bulletlist}
-\item Variables inside double-quoted strings in the form \t{\$\{foo\}} or \t{\$foo} are recognised and
+\item Variables to the right of the equals sign in the form \t{\$\{foo\}} or \t{\$foo} are recognised and
expanded from variables previously set in this or earlier \t{make.defaults} files.
\item One logical line may be continued over multiple physical lines by escaping the newline with a
backslash. This is also permitted inside quoted strings.
+\item Backslashes, except for line continuations, are not allowed.
\end{bulletlist}
\subsection{virtuals}