File: unpatch-source

package info (click to toggle)
dhcp3 3.0.4-13
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 4,356 kB
  • ctags: 5,192
  • sloc: ansic: 66,959; sh: 9,527; perl: 601; makefile: 158
file content (12 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e
#
# $Id: unpatch-source,v 1.2 2003/06/18 18:12:05 peloy Exp $
#

# We want to reverse the patches in the opposite order we applied
#	them, hence the 'ls|sort -r'.
for patch in `ls debian/patches/*.patch | sort -r`; do
	patch -p1 -R < $patch
done

exit 0