File: fix_git_source

package info (click to toggle)
heimdal 1.6~git20120403%2Bdfsg1-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 34,428 kB
  • sloc: ansic: 338,234; sh: 7,993; makefile: 4,671; yacc: 3,036; perl: 1,888; python: 748; lex: 731; awk: 465; java: 119; asm: 30; lisp: 29
file content (36 lines) | stat: -rwxr-xr-x 604 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
34
35
36
#!/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"
git add "rfc3454.txt"

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

popd

pushd "$DST_DIR"

git rm -r "doc/standardisation"
git rm "appl/popper/pop3.rfc1081"
git rm "appl/popper/pop3e.rfc1082"

popd