summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2002-11-11 08:56:37 +0000
committerLutz Jänicke <jaenicke@openssl.org>2002-11-11 08:56:37 +0000
commit9161c2ff514fd92b193a4c4318e383e989380ea0 (patch)
treee9a0bba1413c397e146d680547a025ba804048d5 /Makefile.org
parent21f8cf65e6178c73fedcea29ebacc842569ea6a9 (diff)
Make sure permissions are friendly when building release tar file.
Submitted by: Reviewed by: PR: 171
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.org b/Makefile.org
index fb90e493c5..2fee4ceab7 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -670,6 +670,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 \