File: fix_git_source

package info (click to toggle)
heimdal 7.1.0%2Bdfsg-13%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 41,436 kB
  • sloc: ansic: 354,938; sh: 12,104; makefile: 4,353; yacc: 1,774; perl: 1,572; python: 748; lex: 732; java: 119; awk: 41
file content (33 lines) | stat: -rwxr-xr-x 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash -ex
# DFSGify a Heimdal snapshot from Git

DST_DIR="$1"
PYTHON=python

if [ -z "$DST_DIR" ]
then
    DST_DIR="."
fi

OPWD="$PWD"
cd "$DST_DIR"
quilt pop -a || true
cd "$OPWD"

dstdir="$DST_DIR/lib/wind"
python debian/scripts/rfc3454.py "$dstdir/rfc3454.txt" > "$dstdir/rfc3454.txt.tmp"
mv "$dstdir/rfc3454.txt.tmp" "$dstdir/rfc3454.txt"
pushd "$dstdir"

rm "rfc3490.txt"
rm "rfc3491.txt"
rm "rfc4013.txt"
rm "rfc4518.txt"

popd

pushd "$DST_DIR"

rm -r "doc/doxyout"

popd