[rancid] add the PATH patch to include sbin

David Brown dmlb2000 at fedoraproject.org
Sun May 11 23:01:01 UTC 2014


commit bfc3d384558c6887a45ccb02bbda2eec4c723e40
Author: David Brown <david.brown at pnnl.gov>
Date:   Sun May 11 15:03:20 2014 -0700

    add the PATH patch to include sbin

 rancid-2.3.2-conf.patch |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/rancid-2.3.2-conf.patch b/rancid-2.3.2-conf.patch
index 91a514c..607eb81 100644
--- a/rancid-2.3.2-conf.patch
+++ b/rancid-2.3.2-conf.patch
@@ -1,14 +1,16 @@
 --- etc/rancid.conf.sample.in.orig	2012-07-22 15:13:09.357012183 +0200
 +++ etc/rancid.conf.sample.in	2012-07-22 15:13:51.797481604 +0200
-@@ -22,7 +22,7 @@
+@@ -22,8 +22,8 @@
  TMPDIR=/tmp; export TMPDIR
  # Be careful changing this, it affects CVSROOT below.  It should be a FQPN, not
  # relative.
 -BASEDIR=@localstatedir@; export BASEDIR
+-PATH=@bindir@:@ENV_PATH@; export PATH
 +BASEDIR=/var; export BASEDIR
- PATH=@bindir@:@ENV_PATH@; export PATH
++PATH=@sbindir@:@bindir@:@ENV_PATH@; export PATH
  # Location of the CVS/SVN repository.  Be careful changing this.
  # If RCSSYS is svn, this can be:
+ # - an (absolute) path (a subdirectory of BASEDIR by default).
 @@ -34,7 +34,7 @@
  #     commands can run, e.g. by running rancid-cvs after installation.
  CVSROOT=$BASEDIR/CVS; export CVSROOT


More information about the scm-commits mailing list