Skip to contentSkip to conversation

os-detect lua space fix

PATCH adrian15 1 participant 1 message Aug 22, 2009

lore
Share & tools
lore

adrian15

author
#0 lore raw

Here you a have a patch that fixes the error that osdetect.lua script had with spaces around the equals sign.

Now it does not complain when assigning the variable.

adrian15

Signature · 1 line
Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10
osdetect.lua +1 -1
diff -urN original/osdetect.lua equals_space_fixed/osdetect.lua
@@ -156,7 +156,7 @@
 	local initrd
 
 	title = "Linux " .. kernels[i]
-	source = "set root = " .. device ..
+	source = "set root=" .. device ..
 	  "\nlinux /boot/" .. kernelnames[i] ..
 	  " root=UUID=" ..  " ro"