Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1102165
D241.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 18, 2:52 AM
Size
568 B
Mime Type
text/x-diff
Expires
Tue, Aug 19, 2:52 AM (57 m, 39 s)
Engine
blob
Format
Raw Data
Handle
713963
Attached To
D241: INP-1578 - Don't remove "/system/cache/.gitignore" when clearing cache
D241.diff
View Options
Index: branches/5.2.x/tools/clear_cache.sh
===================================================================
--- branches/5.2.x/tools/clear_cache.sh
+++ branches/5.2.x/tools/clear_cache.sh
@@ -1,5 +1,5 @@
#!/bin/sh
FULL_PATH=`cd $(dirname $0)/..; pwd`
-find "$FULL_PATH"/system/cache -mindepth 1 -maxdepth 1 -not -name "CVS" -not -name ".svn" -print0 | xargs -0 rm -Rf
+find "$FULL_PATH"/system/cache -mindepth 1 -maxdepth 1 -not -name "CVS" -not -name ".svn" -not -name ".gitignore" -print0 | xargs -0 rm -Rf
rm -Rf "$FULL_PATH"/system/.restricted/debug_*.txt
Event Timeline
Log In to Comment