From d35ab3fa597eff866b07b56437cecd9afc6ec3e3 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 22 Dec 2016 20:15:14 -0500 Subject: reproducible FreeBSD: use BSD-style date argument for future date FreeBSD's date command does not understand the --set format. Signed-off-by: Ed Maste Signed-off-by: Holger Levsen --- hosts/freebsd-jenkins/usr/local/etc/sudoers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/freebsd-jenkins/usr/local') diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers index fbff205f..a0bd35e1 100644 --- a/hosts/freebsd-jenkins/usr/local/etc/sudoers +++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers @@ -110,7 +110,7 @@ jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \ /usr/sbin/service ntpd stop, \ /usr/sbin/service ntpd status, \ /usr/sbin/ntpdate -b pool.ntp.org, \ - /bin/date --set=* + /bin/date -f %s * ## Uncomment to allow any user to run sudo if they know the password -- cgit v1.2.3-70-g09d2