提交 2e53303c 编写于 作者: F freesky-edward

fix windows '\r\n' parsing error

上级 5403bc18
......@@ -20,6 +20,7 @@ do
if [ -d ./community/sig/$dir ]
then
sed -i "s/\r//g" ./community/sig/$dir/OWNERS
mt=$(sed '1d' ./community/sig/$dir/OWNERS | awk '{print $2}' | tr '\n' ', ')
sed -e "s/{{sig_name}}/$dir/g" $fd/sig.temp > $dir.md
sed -i "s/{{maintainers}}/$mt/g" $dir.md
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册