diff --git a/build.sh b/build.sh index ae343a5..55e54cb 100755 --- a/build.sh +++ b/build.sh @@ -39,6 +39,9 @@ for file in "${toCompile[@]}"; do echo "{.compile: \"$file\".}" >> ngtcp2.nim done +# removes absolute path prefix from comments "Generated based on" +sed -i 's/Generated based on.*\/nim-ngtcp2\/libs\//Generated based on \/nim-ngtcp2\/libs\//g' tmp_ngtcp2.nim + cat tmp_ngtcp2.nim >> ngtcp2.nim echo >> ngtcp2.nim # linebreak