[CalendarServer-changes] [1004] CalendarServer/trunk/support/submit
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jan 9 17:24:56 PST 2007
Revision: 1004
http://trac.macosforge.org/projects/calendarserver/changeset/1004
Author: wsanchez at apple.com
Date: 2007-01-09 17:24:55 -0800 (Tue, 09 Jan 2007)
Log Message:
-----------
Don't copy .svn turds or ignored files into SRCDIR
Modified Paths:
--------------
CalendarServer/trunk/support/submit
Modified: CalendarServer/trunk/support/submit
===================================================================
--- CalendarServer/trunk/support/submit 2007-01-10 01:23:02 UTC (rev 1003)
+++ CalendarServer/trunk/support/submit 2007-01-10 01:24:55 UTC (rev 1004)
@@ -103,13 +103,16 @@
# Do submission
#
-tmp="$(mktemp -d -t CalendarServer)";
+tmp="$(mktemp -d -t CalendarServer_build)";
wc="${tmp}/${project_version}";
if "${build}"; then
echo "";
echo "Copying ${src}...";
- cp -rv "${src}" "${wc}"
+ ignores="$(mktemp -t CalendarServer_ignores)";
+ svn st --no-ignore | sed -n -e 's|^I......||p' > "${ignores}";
+ rsync -av --exclude=".svn" --exclude-from="${ignores}" "${src}/" "${wc}";
+ rm "${ignores}";
else
echo "";
echo "Exporting ${uri}@${revision}..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070109/bc0819ca/attachment.html
More information about the calendarserver-changes
mailing list