VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Masahiro Yamada <masahiroy@kernel.org> 2019-12-30 22:20:06 +0900 committer: Masahiro Yamada <masahiroy@kernel.org> 2020-01-04 00:00:48 +0900 commit: cc976614f59bd8e45de8ce988a6bcb5de711d994 parent: 46cf053efec6a3a5f343fead837777efe8252a46
Commit Summary:
gen_initramfs_list.sh: fix 'bad variable name' error
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/usr/gen_initramfs_list.sh b/usr/gen_initramfs_list.sh
index 0aad760fcd8c..2bbac73e6477 100755
--- a/usr/gen_initramfs_list.sh
+++ b/usr/gen_initramfs_list.sh
@@ -128,7 +128,7 @@ parse() {
 			str="${ftype} ${name} ${location} ${str}"
 			;;
 		"nod")
-			local dev=`LC_ALL=C ls -l "${location}"`
+			local dev="`LC_ALL=C ls -l "${location}"`"
 			local maj=`field 5 ${dev}`
 			local min=`field 6 ${dev}`
 			maj=${maj%,}