Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 04:30:07 +0000 (UTC)
From:      Julio Merino <jmmv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r263793 - user/jmmv/autotest/node
Message-ID:  <201403270430.s2R4U7pD072524@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403270430.s2R4U7pD072524>