summaryrefslogtreecommitdiffstats
path: root/needs-checking/ptkdiff
diff options
context:
space:
mode:
Diffstat (limited to 'needs-checking/ptkdiff')
-rwxr-xr-xneeds-checking/ptkdiff55
1 files changed, 0 insertions, 55 deletions
diff --git a/needs-checking/ptkdiff b/needs-checking/ptkdiff
deleted file mode 100755
index eb4dddc..0000000
--- a/needs-checking/ptkdiff
+++ /dev/null
@@ -1,55 +0,0 @@
-#! /bin/bash
-
-# This script is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# See the COPYING and AUTHORS files for more details.
-
-#
-# Bring up a patched file in tkdiff. We show the diffs
-# in the topmost patch, unless it was specified
-#
-
-. patchfns 2>/dev/null ||
-. /usr/lib/patch-scripts/patchfns 2>/dev/null ||
-. $PATCHSCRIPTS_LIBDIR/patchfns 2>/dev/null ||
-{
- echo "Impossible to find my library 'patchfns'."
- echo "Check your install, or go to the right directory"
- exit 1
-}
-
-usage()
-{
- echo "Usage: ptkdiff filename ..."
- echo " ptkdiff -"
- exit 1
-}
-
-PATCH_NAME=$(top_patch)
-
-doit()
-{
- filename=$1
- unpatched_file=$(backup_file_name $filename $PATCH_NAME)
- need_file_there $filename
- if [ -e $unpatched_file ]
- then
- tkdiff $unpatched_file $filename
- else
- echo ptkdiff: $filename appears to not be in $PATCH_NAME
- fi
-}
-
-if [ x"$1" = "x-" ]
-then
- FILENAME=$(files_in_patch $PATCH_NAME)
-else
- FILENAME="$*"
-fi
-
-for i in $FILENAME
-do
- doit $i &
-done