16 lines
160 B
Bash
Executable File
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
|
|
}'
|