Message ID | 1458057179-27633-4-git-send-email-lrichard@redhat.com |
---|---|
State | Accepted |
Headers | show |
On Tue, Mar 15, 2016 at 11:52:57AM -0400, Lance Richardson wrote: > Handle OS X like other BSDs (date -r is not supported, use sha1 > instead of sha1sum). > > Signed-off-by: Lance Richardson <lrichard@redhat.com> Applied, thanks!
diff --git a/utilities/ovs-pki.in b/utilities/ovs-pki.in index a96ada3..9b2b5aa 100755 --- a/utilities/ovs-pki.in +++ b/utilities/ovs-pki.in @@ -27,7 +27,7 @@ bits=2048 # OS-specific compatibility routines case $(uname -s) in -FreeBSD|NetBSD) +FreeBSD|NetBSD|Darwin) file_mod_epoch() { stat -r "$1" | awk '{print $10}'
Handle OS X like other BSDs (date -r is not supported, use sha1 instead of sha1sum). Signed-off-by: Lance Richardson <lrichard@redhat.com> --- Changes from v1: None utilities/ovs-pki.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)