Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 1997 12:32:59 +0200 (CEST)
From:      Eivind Eklund <perhaps@yes.no>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/mail/exmh2 Makefile
Message-ID:  <199707081032.MAA16889@bitbox.follo.net>
In-Reply-To: asami@cs.berkeley.edu's message of Tue, 8 Jul 1997 01:23:34 -0700 (PDT)
References:  <199707080245.TAA01322@freefall.freebsd.org> <199707080823.BAA06371@silvia.HIP.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
>  *   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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707081032.MAA16889>