Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1245776
D241.id636.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
Fri, Nov 21, 8:26 AM
Size
568 B
Mime Type
text/x-diff
Expires
Sat, Nov 22, 8:26 AM (18 h, 56 m)
Engine
blob
Format
Raw Data
Handle
809972
Attached To
D241: INP-1578 - Don't remove "/system/cache/.gitignore" when clearing cache
D241.id636.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