svn commit: r263793 - user/jmmv/autotest/node

Julio Merino jmmv at FreeBSD.org
Thu Mar 27 04:30:08 UTC 2014


Author: jmmv
Date: Thu Mar 27 04:30:07 2014
New Revision: 263793
URL: http://svnweb.freebsd.org/changeset/base/263793

Log:
  Make sure the cron job can find all the binaries that it needs.
  
  Set the PATH to include /usr/local so that we can execute svn and git
  properly.  Oh, and also make sure to install git on the host.

Modified:
  user/jmmv/autotest/node/setup.sh

Modified: user/jmmv/autotest/node/setup.sh
==============================================================================
--- user/jmmv/autotest/node/setup.sh	Thu Mar 27 04:27:42 2014	(r263792)
+++ user/jmmv/autotest/node/setup.sh	Thu Mar 27 04:30:07 2014	(r263793)
@@ -52,7 +52,7 @@ SETUP_CONFIG_VARS="ATF_REMOTE ATF_REVISI
 
 
 # Packages needed to bootstrap autotest.
-PACKAGES="automake autoconf kyua libtool nginx qemu-devel"
+PACKAGES="automake autoconf git kyua libtool nginx qemu-devel"
 
 
 # Sets defaults for configuration variables and hooks that need to exist.
@@ -186,6 +186,7 @@ setup_enable_cron() {
 
     local timespec="30 */1 * * *"
     local entry="( cd '${dir}'"
+    entry="${entry}; export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
     entry="${entry}; '$(svnpath)' update"
     entry="${entry}; make"
     entry="${entry}; ./setup all"


More information about the svn-src-user mailing list