From: Lutz Jänicke Date: Mon, 11 Nov 2002 08:55:43 +0000 (+0000) Subject: Make sure permissions are friendly when building release tar file. X-Git-Tag: OpenSSL_0_9_6h~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1dc179b4f4ea51d120aa3fcc813192dd623ca79c;p=oweals%2Fopenssl.git Make sure permissions are friendly when building release tar file. Submitted by: Reviewed by: PR: 171 --- diff --git a/Makefile.org b/Makefile.org index c3d4e6d061..dd05ca8dcf 100644 --- a/Makefile.org +++ b/Makefile.org @@ -608,6 +608,9 @@ update: depend errors stacks util/libeay.num util/ssleay.num crypto/objects/obj_ # and read directly, requiring GNU-Tar. Call "make TAR=gtar dist" if the normal # tar does not support the --files-from option. tar: + find . -type d -print | xargs chmod 755 + find . -type f -print | xargs chmod a+r + find . -type f -perm -0100 -print | xargs chmod a+x find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS \! -name TABLE | sort > ../$(TARFILE).list; \ $(TAR) $(TARFLAGS) --files-from ../$(TARFILE).list -cvf - | \ tardy --user_number=0 --user_name=openssl \