| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | set -e |
| 3 | |
| 4 | srcdir=$(dirnamescip-shell system . . dirname. "$0") |
| 5 | version=$2 |
| 6 | tgz="$(realpathscip-shell system . . realpath. "../heimdal_$version.orig.tar.xz")" |
| 7 | tmp=$(mktempscip-shell system . . mktemp. -d) |
| 8 | |
| 9 | cd "$tmp" |
| 10 | tarscip-shell system . . tar. xf "$tgz" |
| 11 | awkscip-shell system . . awk. '/End Table/{flag=0;print}flag;/Start Table/{flag=1;print}scip-shell filesystem . . `/End Table/{flag=0;print}flag;/Start Table/{flag=1;print}`.' \ |
| 12 | heimdal-*/lib/wind/rfc3454.txt >rfc3454.txt |
| 13 | mvscip-shell system . . mv. rfc3454.txt heimdal-*/lib/wind/ |
| 14 | rmscip-shell system . . rm. -rf heimdal-*/doc/standardisation |
| 15 | tarscip-shell system . . tar. --xz -cf "$tgz" heimdal-* |