4 # Bring up a patched file in tkdiff. We show the diffs
5 # in the topmost patch, unless it was specified
8 . patchfns >/dev/null || . /usr/lib/patch-scripts/patchfns >/dev/null || { \
9 echo "Impossible to find my library 'patchfns'."
10 echo "Check your install, or go to the right directory"
16 echo "Usage: ptkdiff filename ..."
21 PATCH_NAME=$(top_patch)
26 unpatched_file=$filename"~"$PATCH_NAME
27 need_file_there $filename
28 if [ -e $unpatched_file ]
30 tkdiff $unpatched_file $filename
32 echo ptkdiff: $filename appears to not be in $PATCH_NAME
38 FILENAME=$(cat $P/pc/$PATCH_NAME.pc)