From owner-freebsd-questions Sun Sep 2 11:55:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fepZ.post.tele.dk (fepz.post.tele.dk [195.41.46.133]) by hub.freebsd.org (Postfix) with ESMTP id 4A60E37B405 for ; Sun, 2 Sep 2001 11:55:25 -0700 (PDT) Received: from there ([62.243.18.42]) by fepZ.post.tele.dk (InterMail vM.4.01.03.21 201-229-121-121-20010307) with SMTP id <20010902185524.SUWN9437.fepZ.post.tele.dk@there>; Sun, 2 Sep 2001 20:55:24 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Bjarne Wichmann Petersen To: The Psychotic Viper Subject: [Portsclean] Parse error Date: Sun, 2 Sep 2001 20:57:25 +0200 X-Mailer: KMail [version 1.3] Cc: References: <20010902201614.W84835-100000@lucifer.fuzion.ath.cx> In-Reply-To: <20010902201614.W84835-100000@lucifer.fuzion.ath.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010902185524.SUWN9437.fepZ.post.tele.dk@there> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 02 September 2001 20:19, The Psychotic Viper wrote: > On Sun, 2 Sep 2001, Bjarne Wichmann Petersen wrote: > > Is there some way to speed up 'make clean' in /usr/ports? The way this > > enterprise is done several ports are cleaned numerous times and the whole > > process takes about forever. > > just a suggestion that if you are cleaning up the ports dir regularly why > not install the portupgrade package (from /usr/ports/sysutils/portupgrade) > and cron portsclean to run every few days,weeks or months depending on > your need. This will save time in a way and automate it so it can be run > on w/e's or when there is minimal system usage/load I didn't know this tool, so I just installed it... and it fails with this: $ portsclean /usr/local/sbin/portsclean:447: parse error end rescue [] ^ /usr/local/sbin/portsclean:450: nested method definition def check_distinfo(origin) ^ /usr/local/sbin/portsclean:460: nested method definition def delete_file(file) ^ /usr/local/sbin/portsclean:472: nested method definition def delete_dir(dir) ^ /usr/local/sbin/portsclean:482: nested method definition def signal_handler(sig) ^ /usr/local/sbin/portsclean:500: parse error And $ ruby --version ruby 1.6.4 (2001-04-18) [i386-freebsd4.3] So it looks like I'm running the current version af ruby. Bjarne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message