From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 15 22:10:19 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C05E16A42A for ; Thu, 15 Sep 2005 22:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92F6B43D69 for ; Thu, 15 Sep 2005 22:10:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8FMAEeo090293 for ; Thu, 15 Sep 2005 22:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8FMADA5090292; Thu, 15 Sep 2005 22:10:13 GMT (envelope-from gnats) Date: Thu, 15 Sep 2005 22:10:13 GMT Message-Id: <200509152210.j8FMADA5090292@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Graham Todd Cc: Subject: Re: ports/86144: New port: sysutils/freebsd-snapshot: ports version of RSE snapshot utilities X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Graham Todd List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 22:10:19 -0000 The following reply was made to PR ports/86144; it has been noted by GNATS. From: Graham Todd To: bug-followup@FreeBSD.org, gtodd@bellanet.org Cc: Subject: Re: ports/86144: New port: sysutils/freebsd-snapshot: ports version of RSE snapshot utilities Date: Thu, 15 Sep 2005 18:03:44 -0400 Small fix so the periodic scripts can run: /usr/local/sbin is not in $PATH so these small patches to the main scripts allow the $LOCALBASE installation to function by adding /usr/local/sbin to the Please review: perhaps a more general solution for $PATH is needed in case LOCALBASE or PREFIX point at other locations. /usr/ports/sysutils/freebsd-snapshot-management]# cat files/patch-snapshot --- snapshot.orig Thu Sep 15 17:44:46 2005 +++ snapshot Thu Sep 15 17:47:59 2005 @@ -29,7 +29,7 @@ ## # make sure system tools are used first -PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH" +PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATH" # option defaults fs_subdir=".snap" cat files/patch-periodic-snapshot --- periodic-snapshot.orig Thu Sep 15 17:44:57 2005 +++ periodic-snapshot Thu Sep 15 17:46:31 2005 @@ -29,7 +29,7 @@ ## # make sure system tools are used first -PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH" +PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATH" # configuration defaults snapshot_enable="NO" -- Graham Todd -- Bellanet Secretariat tel/tél:613-236-6163 #2443 http://www.bellanet.org/