chore: remove absolute path prefix from comments (#16)

This commit is contained in:
vladopajic
2025-03-11 16:08:42 +01:00
committed by Richard Ramos
parent 95412ee90a
commit 525d9cfe25

View File

@@ -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