The $ character was incorrectly escaped and the broken
lex script was not able to run properly.
Fixes #10952
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
name = flex
version = 2.5.39
-release = 1
+release = 2
groups = Development/Tools
url = http://flex.sourceforge.net/
install_cmds
echo "#!/bin/sh" > %{BUILDROOT}/usr/bin/lex
- echo "exec /usr/bin/flex -l \"$$@\"" >> %{BUILDROOT}/usr/bin/lex
+ echo "exec /usr/bin/flex -l \"\$@\"" >> %{BUILDROOT}/usr/bin/lex
chmod 755 %{BUILDROOT}/usr/bin/lex
end
end