[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240315023038.4320-1-unixbhaskar@gmail.com>
Date: Fri, 15 Mar 2024 08:00:38 +0530
From: Bhaskar Chowdhury <unixbhaskar@...il.com>
To: masahiroy@...nel.org,
nathan@...nel.org,
nicolas@...sle.eu,
linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Bhaskar Chowdhury <unixbhaskar@...il.com>
Subject: [PATCH] scripts: Improve source code readability by eliminating too many slashes
I have tried to eliminate the convolution(visual) of forward slashes.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@...il.com>
---
scripts/mkcompile_h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 2596f78e52ef..d6a7b22d23e3 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -6,7 +6,7 @@ CC_VERSION="$2"
LD=$3
if test -z "$KBUILD_BUILD_USER"; then
- LINUX_COMPILE_BY=$(whoami | sed 's/\\/\\\\/')
+ LINUX_COMPILE_BY=$(whoami | sed 's#\\#\\\\#')
else
LINUX_COMPILE_BY=$KBUILD_BUILD_USER
fi
--
2.35.8
Powered by blists - more mailing lists