From owner-freebsd-ports@FreeBSD.ORG Wed Sep 10 20:42:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C77DF106564A for ; Wed, 10 Sep 2008 20:42:50 +0000 (UTC) (envelope-from freebsd-ports@pp.dyndns.biz) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 704F28FC18 for ; Wed, 10 Sep 2008 20:42:48 +0000 (UTC) (envelope-from freebsd-ports@pp.dyndns.biz) Received: from ironport.bredband.com (195.54.101.120) by proxy1.bredband.net (7.3.127) id 4811823A023B8A20 for freebsd-ports@freebsd.org; Wed, 10 Sep 2008 22:42:47 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtIzAKzOx0hV4jrQPGdsb2JhbAAsgTmQbAEBAQEtpiKBZIQe Received: from c-d03ae255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.58.208]) by ironport1.bredband.com with ESMTP; 10 Sep 2008 22:42:35 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.2/8.14.2) with ESMTP id m8AKgXxW046319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Sep 2008 22:42:34 +0200 (CEST) (envelope-from freebsd-ports@pp.dyndns.biz) Message-ID: <48C83139.7080303@pp.dyndns.biz> Date: Wed, 10 Sep 2008 22:42:33 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.16 (X11/20080805) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Trying to "make index" in a crontab job X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2008 20:42:50 -0000 Hi list. # uname -a FreeBSD gatekeeper.pp.dyndns.biz 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Thu Sep 4 10:58:01 CEST 2008 pp@gatekeeper.pp.dyndns.biz:/usr/obj/usr/src/sys/MYKERNEL amd64 # which pkg_info /usr/sbin/pkg_info When I try to use crontab to "make index" in /usr/ports I end up with this: Generating INDEX-7 - please wait..pkg_info: not found pkg_info: not found pkg_info: not found pkg_info: not found Done. I've tried to put the command directly in the crontab entry and also in a separate shell script but the result is the same. Running "make index" manually works fine and doesn't show those "pkg_info" messages. Does "make index" need another shell than /bin/sh to work or isn't the path working or what am I doing wrong? Is there a preferred way to update the ports source tree and create the index through crontab? Thanks Morgan