From owner-cvs-ports Tue Jul 8 03:34:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA10035 for cvs-ports-outgoing; Tue, 8 Jul 1997 03:34:13 -0700 (PDT) Received: from bitbox.follo.net (eivind@bitbox.follo.net [194.198.43.36]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA09917; Tue, 8 Jul 1997 03:33:37 -0700 (PDT) Received: (from eivind@localhost) by bitbox.follo.net (8.8.5/8.7.3) id MAA16889; Tue, 8 Jul 1997 12:32:59 +0200 (CEST) Date: Tue, 8 Jul 1997 12:32:59 +0200 (CEST) Message-Id: <199707081032.MAA16889@bitbox.follo.net> From: Eivind Eklund To: asami@cs.berkeley.edu (Satoshi Asami) CC: peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG In-reply-to: asami@cs.berkeley.edu's message of Tue, 8 Jul 1997 01:23:34 -0700 (PDT) Subject: Re: cvs commit: ports/mail/exmh2 Makefile References: <199707080245.TAA01322@freefall.freebsd.org> <199707080823.BAA06371@silvia.HIP.Berkeley.EDU> Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > * Run scripts with /bin/sh explicitly rather than depending on the x bits > * being set. I don't know what isn't copying the x bits, but don't depend > * on it. > > ftp maybe? > > Actually we should drop all the x bits in the ports' scripts (if we > can -- will something like "find /home/ncvs/ports -type f | xargs > chmod -x" work?) That will probabably work - there shouldn't be any 'weird filenames' in ports. I'd recommend find /home/ncvs/ports -type f \( -perm -100 -o -perm -010 -o -perm \ -001 \) -print0 | xargs -0 chmod -x The important thing is the -print0 and xargs -0 to use zero-termination, not the minor optimization of checking the original permissions. Eivind.