summaryrefslogtreecommitdiff
path: root/fedora/makepatch.awk
diff options
context:
space:
mode:
Diffstat (limited to 'fedora/makepatch.awk')
-rw-r--r--fedora/makepatch.awk58
1 files changed, 0 insertions, 58 deletions
diff --git a/fedora/makepatch.awk b/fedora/makepatch.awk
deleted file mode 100644
index fadf1c7e56..0000000000
--- a/fedora/makepatch.awk
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/awk -f
-/^cvs (diff|server): tag.*is not in file/ {
- print
- next
-}
-/^cvs (diff|server): Diffing/ {
- next
-}
-/^\? / {
- next
-}
-/^Index:/ {
- file=$2
- next
-}
-/^===============/ {
- next
-}
-/^RCS/ {
- next
-}
-/^retrieving/ {
- next
-}
-/^diff/ {
- next
-}
-/^---/ {
- if ($2 ~ /^\/dev\/null/ ||
- $2 ~ /^\/tmp\//)
- $2=file
- if ($2 ~ /.cvsignore$/ ||
- $2 ~ /^c_stubs/ ||
- $2 ~ /^rtkaio/ ||
- $2 ~ /^powerpc-cpu/ ||
- $2 ~ /^fedora/ ||
- $2 ~ /^localedata\/charmaps\/GB18030/ ||
- $2 ~ /^iconvdata\/gb18030\.c/) {
- hide = 1
- next
- } else {
- hide = 0
- }
- sub(/^---[ ]*/,"--- " OLDVER "/")
-}
-/^\+\+\+/ {
- if (hide)
- next
- if ($2 ~ /^\/dev\/null/ ||
- $2 ~ /^\/tmp\//)
- $2=file
- sub(/^\+\+\+[ ]*/,"+++ " NEWVER "/")
-}
-{
- if (hide)
- next
- print
-}