Commit 7c387150 authored by Andreas Jung's avatar Andreas Jung

fix file and directory permissions before generating the tarball

parent 7bd57cd7
...@@ -117,6 +117,8 @@ sdist: clobber sdist_tgz ...@@ -117,6 +117,8 @@ sdist: clobber sdist_tgz
# sdist_tgz: Create a tgz archive file as a source distribution. # sdist_tgz: Create a tgz archive file as a source distribution.
# #
sdist_tgz: version_txt sdist_tgz: version_txt
${FIND} . -type f -exec chmod a+r {} \;
${FIND} . -type d -exec chmod a+rx {} \;
${MKDIR} ${TMPDIR} ${MKDIR} ${TMPDIR}
${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \ ${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \
${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tgz \ ${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tgz \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment