[CalendarServer-changes] [13378] CalendarServer/trunk/support/_cache_deps
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 28 18:05:45 PDT 2014
Revision: 13378
http://trac.calendarserver.org//changeset/13378
Author: wsanchez at apple.com
Date: 2014-04-28 18:05:45 -0700 (Mon, 28 Apr 2014)
Log Message:
-----------
clean up
Modified Paths:
--------------
CalendarServer/trunk/support/_cache_deps
Modified: CalendarServer/trunk/support/_cache_deps
===================================================================
--- CalendarServer/trunk/support/_cache_deps 2014-04-28 23:39:50 UTC (rev 13377)
+++ CalendarServer/trunk/support/_cache_deps 2014-04-29 01:05:45 UTC (rev 13378)
@@ -53,7 +53,15 @@
curl -L -o "${wd}/.develop/tools/${pkg}.tgz" "${url}";
done;
+for archive in $(find "${wd}/.develop/tools" -depth 1 -type f -name '*.tgz'); do
+ ruler "Cleaning up ${archive}";
+ tmp="$(mktemp -d -t fooXXXX)";
+ tar -C "${tmp}" --exclude '*.exe' -xvzf "${archive}";
+ tar -C "${tmp}" -cvzf "${archive}" .;
+ rm -rf "${tmp}";
+done;
+
#
# Download dependencies
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140428/9d26a0ce/attachment.html>
More information about the calendarserver-changes
mailing list