diff mbox series

[WIP,18/30] build/scripts: streamline_config.pl: modify use of ${srctree} for trailing slash

Message ID a773e24967ef57ada833a6983b8801c4717cee46.1709508291.git.ehem+linux@m5p.com (mailing list archive)
State New, archived
Headers show
Series Adding trailing slash to $(*tree) | expand

Commit Message

Elliott Mitchell March 2, 2024, 12:33 a.m. UTC
Once converted this script needs to match what the Makefiles have.

Signed-off-by: Elliott Mitchell <ehem+linux@m5p.com>
---
---
 scripts/kconfig/streamline_config.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index d51cd7ac15d2..8e30b8458739 100755
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -354,8 +354,8 @@  my $linfile;
 
 if (defined($lsmod_file)) {
     if ( ! -f $lsmod_file) {
-	if ( -f $ENV{'objtree'}."/".$lsmod_file) {
-	    $lsmod_file = $ENV{'objtree'}."/".$lsmod_file;
+	if ( -f $ENV{'objtree'}.$lsmod_file) {
+	    $lsmod_file = $ENV{'objtree'}.$lsmod_file;
 	} else {
 		die "$lsmod_file not found";
 	}