aboutsummaryrefslogtreecommitdiff
path: root/sum
diff options
context:
space:
mode:
Diffstat (limited to 'sum')
-rwxr-xr-xsum18
1 files changed, 0 insertions, 18 deletions
diff --git a/sum b/sum
deleted file mode 100755
index 9469302..0000000
--- a/sum
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# checksum -- create checksum for local patch
-
-#
-# Note that checksums are optional for local patches.
-#
-
-[ -z "$1" ] && { echo usage: $0 patch 1>&2; exit 1; }
-
-localpath=`readlink -f "$1"`
-globalpath=/usr/pkgsrc/${localpath#/home/john/patches/}
-
-[ -e "$globalpath" ] && { echo error: "$globalpath" exists 1>&2; exit 1; }
-doas cp "$localpath" "$globalpath"
-cd "$(dirname "$globalpath")"
-doas make makepatchsum
-doas rm "$globalpath"