Commit 4d93ba9e authored by Chris McDonough's avatar Chris McDonough

Dont write trailing newline into version.txt (causes problems because the...

Dont write trailing newline into version.txt (causes problems because the version.txt is injected into a header sent from Zope and the newline causes Apache proxies to choke).
parent 8bb0d8ee
...@@ -115,8 +115,8 @@ sdist: clobber sdist_tgz ...@@ -115,8 +115,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: sdist_tgz:
echo Zope ${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG} \ echo -n "Zope ${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG}" >\
> "${BASE_DIR}/lib/python/version.txt" "${BASE_DIR}/lib/python/version.txt"
${MKDIR} ${TMPDIR} ${MKDIR} ${TMPDIR}
${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \ ${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \
${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tar.gz ${PACKAGE_NAME} \ ${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tar.gz ${PACKAGE_NAME} \
......
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