diff options
author | Ed Maste <emaste@freebsd.org> | 2016-12-22 20:15:14 -0500 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-12-23 02:20:43 +0100 |
commit | d35ab3fa597eff866b07b56437cecd9afc6ec3e3 (patch) | |
tree | b612cff1d72e618725d02cc5ed963d45b62712f4 /hosts/freebsd-jenkins/usr/local | |
parent | a125226e232752a32a921947b72d51eb852d0a9c (diff) | |
download | jenkins.debian.net-d35ab3fa597eff866b07b56437cecd9afc6ec3e3.tar.xz |
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 <emaste@freebsd.org>
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/freebsd-jenkins/usr/local')
-rw-r--r-- | hosts/freebsd-jenkins/usr/local/etc/sudoers | 2 |
1 files changed, 1 insertions, 1 deletions
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 |