Commit 225b439d authored by Brad King's avatar Brad King
Browse files

BUG: Fixed source_zipfile command to not include CVS directories.

parent 86caa933
......@@ -411,7 +411,11 @@ source_zipfile()
mkdir -p Tarballs &&
rm -rf Tarballs/${PROJECT}-${VERSION}.zip &&
zip -r Tarballs/${PROJECT}-${VERSION}.zip ${PROJECT}-${VERSION}
rm -rf Tarballs/${PROJECT}-${VERSION} &&
tar c --exclude CVS ${PROJECT}-${VERSION} | (cd Tarballs; tar x) &&
cd Tarballs &&
zip -r ${PROJECT}-${VERSION}.zip ${PROJECT}-${VERSION} &&
rm -rf ${PROJECT}-${VERSION}
) >Logs/source_zipfile.log 2>&1 || error_log Logs/source_zipfile.log
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