]> granicus.if.org Git - flex/commitdiff
mkskel.sh: fix EOL issue for CRLF systems
authorJannick <thirdedition@gmx.net>
Tue, 18 Jul 2017 00:03:30 +0000 (02:03 +0200)
committerJannick <thirdedition@gmx.net>
Tue, 18 Jul 2017 00:03:45 +0000 (02:03 +0200)
src/mkskel.sh

index 1aa59e1a0e6bd677b1220b6eeeab4cb6f232e5a5..2d6ae9fe8d84a5e9847d133aa3bc1b1b485a8486 100755 (executable)
@@ -48,7 +48,7 @@ sed '/^%#/d
 s/m4_/m4preproc_/g
 s/a4_/4_/g
 s/[\\"]/\\&/g
-s/.*/  "&",/'
+s/[^\r]*/  "&",/'
 
 echo '  0
 };'