File: make-cvs-patch.sh

package info (click to toggle)
glibc 2.3.6.ds1-13etch10
  • links: PTS
  • area: main
  • in suites: etch
  • size: 19,276 kB
  • ctags: 292
  • sloc: sh: 2,473; perl: 281; makefile: 119
file content (23 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

# This script is designed to help make patches to update from the last
# release to the latest CVS.  Hand it the argument of the directory from
# which to generate the diff.

# This script is not robust.  Feel free to improve it.  Specifically,
# run this from the root of the package.

# This file is in the PUBLIC DOMAIN
# written by Jeff Bailey jbailey@debian.org September 6th, 2002

if [ $# -ne 1 ]; then
  echo "`basename $0`: script expects a CVS tree to diff against"
  exit 1
fi

debian/rules unpack

SRCDIR=build-tree/glibc-*

diff -urN -x CVS -x .cvsignore -x '*texi' -x '*manual*' $SRCDIR $1 >cvs.patch