[CalendarServer-changes] [1194] CalendarServer/trunk/run

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 15 11:33:00 PST 2007


Revision: 1194
          http://trac.macosforge.org/projects/calendarserver/changeset/1194
Author:   wsanchez at apple.com
Date:     2007-02-15 11:33:00 -0800 (Thu, 15 Feb 2007)

Log Message:
-----------
Add -f argument to rm because xargs might run rm with no arguments, and that causes an error.
Submitted by: Andy Brook <ducky0 at gmail.com>

Modified Paths:
--------------
    CalendarServer/trunk/run

Modified: CalendarServer/trunk/run
===================================================================
--- CalendarServer/trunk/run	2007-02-15 15:17:56 UTC (rev 1193)
+++ CalendarServer/trunk/run	2007-02-15 19:33:00 UTC (rev 1194)
@@ -216,7 +216,7 @@
   echo "Removing build directory ${path}/build..."
   rm -rf "${path}/build";
   echo "Removing pyc files from ${path}..."
-  find "${path}" -type f -name '*.pyc' -print0 | xargs -0 rm;
+  find "${path}" -type f -name '*.pyc' -print0 | xargs -0 rm -f;
 }
 
 www_get () {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070215/704abbf9/attachment.html


More information about the calendarserver-changes mailing list