kconfig: fix too deep indentation in Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 17 Dec 2019 04:18:18 +0000 (13:18 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 6 Jan 2020 17:18:45 +0000 (02:18 +0900)
The indentation for if ... else ... fi is too deep. Fix it.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/Makefile

index 2f1a59fa51694262e270a8228fe18fd835690af7..f826a257d576693ac128f458cc194767f067ac99 100644 (file)
@@ -48,15 +48,15 @@ build_xconfig: $(obj)/qconf
 
 localyesconfig localmodconfig: $(obj)/conf
        $(Q)perl $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config
-       $(Q)if [ -f .config ]; then                                     \
-                       cmp -s .tmp.config .config ||                   \
-                       (mv -f .config .config.old.1;                   \
-                        mv -f .tmp.config .config;                     \
-                        $< $(silent) --oldconfig $(Kconfig);           \
-                        mv -f .config.old.1 .config.old)               \
-       else                                                            \
-                       mv -f .tmp.config .config;                      \
-                       $< $(silent) --oldconfig $(Kconfig);            \
+       $(Q)if [ -f .config ]; then                             \
+               cmp -s .tmp.config .config ||                   \
+               (mv -f .config .config.old.1;                   \
+                mv -f .tmp.config .config;                     \
+                $< $(silent) --oldconfig $(Kconfig);           \
+                mv -f .config.old.1 .config.old)               \
+       else                                                    \
+               mv -f .tmp.config .config;                      \
+               $< $(silent) --oldconfig $(Kconfig);            \
        fi
        $(Q)rm -f .tmp.config