diff options
author | Tom Levy <tomlevy93@gmail.com> | 2019-03-21 02:37:56 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-03-25 16:58:22 +0100 |
commit | 4318f9bb736c9874204b5c94c825f0c57bed78d7 (patch) | |
tree | e1b42eeb5d598f41c17309c5a5e20907258298c4 /Documentation/translations/it_IT | |
parent | Documentation: fix core_pattern max length (diff) | |
download | linux-4318f9bb736c9874204b5c94c825f0c57bed78d7.tar.xz linux-4318f9bb736c9874204b5c94c825f0c57bed78d7.zip |
docs: remove spaces from shell variable assignment
The instructions for generating patches are given as shell commands
with variables as placeholders. They use the syntax "SRCTREE= linux",
which is wrong for the Bourne shell family (it runs the command
"linux" with the variable "SRCTREE" set to the empty string).
Remove the spaces to avoid confusion. This breaks the pretty alignment
but helps new contributors who try to run the commands as written.
Signed-off-by: Tom Levy <tomlevy93@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/translations/it_IT')
-rw-r--r-- | Documentation/translations/it_IT/process/submitting-patches.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/translations/it_IT/process/submitting-patches.rst b/Documentation/translations/it_IT/process/submitting-patches.rst index 2ab9c1401aa1..713fba075b9d 100644 --- a/Documentation/translations/it_IT/process/submitting-patches.rst +++ b/Documentation/translations/it_IT/process/submitting-patches.rst @@ -67,8 +67,8 @@ sulla radice dei sorgenti del kernel, e non sulle sue sottocartelle. Per creare una patch per un singolo file, spesso รจ sufficiente fare:: - SRCTREE= linux - MYFILE= drivers/net/mydriver.c + SRCTREE=linux + MYFILE=drivers/net/mydriver.c cd $SRCTREE cp $MYFILE $MYFILE.orig @@ -80,7 +80,7 @@ Per creare una patch per molteplici file, dovreste spacchettare i sorgenti "vergini", o comunque non modificati, e fare un ``diff`` coi vostri. Per esempio:: - MYSRC= /devel/linux + MYSRC=/devel/linux tar xvfz linux-3.19.tar.gz mv linux-3.19 linux-3.19-vanilla |