openssl/fixpatch
2023-07-12 10:57:08 +02:00

16 lines
160 B
Bash
Executable File

#!/bin/sh
# Fixes patch from upstream tracker view
gawk '
BEGIN {
dir=""
}
/^Index: openssl\// {
dir = $2
}
/^(---|\+\+\+)/ {
$2 = dir
}
{
print
}'