summaryrefslogtreecommitdiff
path: root/misc/sloccount
diff options
context:
space:
mode:
authorGeorge C A Reid <greid@FreeBSD.org>2001-05-21 01:41:57 +0000
committerGeorge C A Reid <greid@FreeBSD.org>2001-05-21 01:41:57 +0000
commitd4a6ac61e0a19081a158fe3563e81ce15e5e728f (patch)
tree5bb4dc73ad3e9c45818f7f1680cc378ba707d911 /misc/sloccount
parentSpelling corrections. (diff)
Use 'md5 -q' instead of the non-existant 'md5sum' (I presume this is a
Linux-ism and as such don't see how this port could ever work). Submitted by: Peter J Jones <pjones@pmade.org>
Notes
Notes: svn path=/head/; revision=42824
Diffstat (limited to 'misc/sloccount')
-rw-r--r--misc/sloccount/files/patch-break_filelist11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/sloccount/files/patch-break_filelist b/misc/sloccount/files/patch-break_filelist
new file mode 100644
index 000000000000..b47a24418477
--- /dev/null
+++ b/misc/sloccount/files/patch-break_filelist
@@ -0,0 +1,11 @@
+--- break_filelist.orig Mon May 21 02:34:00 2001
++++ break_filelist Mon May 21 02:34:13 2001
+@@ -460,7 +460,7 @@
+ return $cached_digest; # We did, so here's what it was.
+ }
+
+- my $results = `md5sum "$filename"`;
++ my $results = `md5 -q "$filename"`;
+ $results =~ s/^\s*//; # Not needed for GNU Textutils.
+ $results =~ s/[^a-fA-F0-9].*//; # Strip away end.
+ $cached_digest = $results; # Store in cache.