summaryrefslogtreecommitdiffstats
path: root/Documentation/process/submitting-patches.rst
diff options
context:
space:
mode:
authorTom Levy2019-03-21 02:37:56 +0100
committerJonathan Corbet2019-03-25 16:58:22 +0100
commit4318f9bb736c9874204b5c94c825f0c57bed78d7 (patch)
treee1b42eeb5d598f41c17309c5a5e20907258298c4 /Documentation/process/submitting-patches.rst
parentDocumentation: fix core_pattern max length (diff)
downloadkernel-qcow2-linux-4318f9bb736c9874204b5c94c825f0c57bed78d7.tar.gz
kernel-qcow2-linux-4318f9bb736c9874204b5c94c825f0c57bed78d7.tar.xz
kernel-qcow2-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/process/submitting-patches.rst')
-rw-r--r--Documentation/process/submitting-patches.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst
index be7d1829c3af..33098adc5381 100644
--- a/Documentation/process/submitting-patches.rst
+++ b/Documentation/process/submitting-patches.rst
@@ -60,8 +60,8 @@ not in any lower subdirectory.
To create a patch for a single file, it is often sufficient to do::
- SRCTREE= linux
- MYFILE= drivers/net/mydriver.c
+ SRCTREE=linux
+ MYFILE=drivers/net/mydriver.c
cd $SRCTREE
cp $MYFILE $MYFILE.orig
@@ -73,7 +73,7 @@ To create a patch for multiple files, you should unpack a "vanilla",
or unmodified kernel source tree, and generate a ``diff`` against your
own source tree. For example::
- MYSRC= /devel/linux
+ MYSRC=/devel/linux
tar xvfz linux-3.19.tar.gz
mv linux-3.19 linux-3.19-vanilla