[CalendarServer-changes] [13401] CalendarServer/trunk/support/_cache_deps
source_changes at macosforge.org
source_changes at macosforge.org
Thu May 1 20:27:25 PDT 2014
Revision: 13401
http://trac.calendarserver.org//changeset/13401
Author: wsanchez at apple.com
Date: 2014-05-01 20:27:25 -0700 (Thu, 01 May 2014)
Log Message:
-----------
Fix the tar thing yet again
Modified Paths:
--------------
CalendarServer/trunk/support/_cache_deps
Modified: CalendarServer/trunk/support/_cache_deps
===================================================================
--- CalendarServer/trunk/support/_cache_deps 2014-05-02 03:25:44 UTC (rev 13400)
+++ CalendarServer/trunk/support/_cache_deps 2014-05-02 03:27:25 UTC (rev 13401)
@@ -72,8 +72,11 @@
#
for archive in $(find "${wd}/.develop" -type f -name '*.tgz'); do
- if tar -tvfz "${archive}" "*.exe" > /dev/null 2>&1; then
+ if tar -tvzf "${archive}" "*.exe" > /dev/null 2>&1; then
ruler "Removing binaries from ${archive}";
- gzcat "${archive}" | gnutar --delete --wildcards -vf - "*.exe" > "${archive}";
+ tmp="$(mktemp -t ccsXXXXX)";
+ gzcat "${archive}" | gnutar --delete --wildcards -vf - "*.exe" > "${tmp}";
+ gzip -c "${tmp}" > "${archive}";
+ rm "${tmp}";
fi;
done;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140501/786161ae/attachment-0001.html>
More information about the calendarserver-changes
mailing list