Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea174f4c authored by Sylvain BERTRAND's avatar Sylvain BERTRAND Committed by Ingo Molnar
Browse files

x86: Fix mkcapflags.sh bash-ism

parent 132978b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ function dump_array()
		# If the /* comment */ starts with a quote string, grab that.
		VALUE="$(echo "$i" | sed -n 's@.*/\* *\("[^"]*"\).*\*/@\1@p')"
		[ -z "$VALUE" ] && VALUE="\"$NAME\""
		[ "$VALUE" == '""' ] && continue
		[ "$VALUE" = '""' ] && continue

		# Name is uppercase, VALUE is all lowercase
		VALUE="$(echo "$VALUE" | tr A-Z a-z)"