1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/misc/sloccount/files/patch-break_filelist
George C A Reid d4a6ac61e0 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>
2001-05-21 01:41:57 +00:00

12 lines
422 B
Plaintext

--- 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.