diff mbox series

[WIP,15/30] build/scripts: install.sh: modify use of ${srctree} for trailing slash

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

Commit Message

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

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

Patch

diff --git a/scripts/install.sh b/scripts/install.sh
index 9bb0fb44f04a..beda9b808cb9 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -23,8 +23,8 @@  done
 # User/arch may have a custom install script
 for file in "${HOME}/bin/${INSTALLKERNEL}"		\
 	    "/sbin/${INSTALLKERNEL}"			\
-	    "${srctree}/arch/${SRCARCH}/install.sh"	\
-	    "${srctree}/arch/${SRCARCH}/boot/install.sh"
+	    "${srctree}arch/${SRCARCH}/install.sh"	\
+	    "${srctree}arch/${SRCARCH}/boot/install.sh"
 do
 	if [ ! -x "${file}" ]; then
 		continue