Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F803139
in-portal
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
Tue, Feb 25, 6:09 AM
Size
643 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 6:09 AM (1 d, 12 h)
Engine
blob
Format
Raw Data
Handle
575997
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/5.2.x/tools/clear_cache.sh
===================================================================
--- branches/5.2.x/tools/clear_cache.sh (revision 15708)
+++ branches/5.2.x/tools/clear_cache.sh (revision 15709)
@@ -1,2 +1,5 @@
-cd ../system/cache/; find ./ -maxdepth 1 -not -name "CVS" -not -name ".svn" -not -name ".htaccess" -type d -o -name "debug_*" | xargs rm -Rf
-cd ../.restricted/; rm debug_*.txt -Rf
+#!/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
+rm -Rf "$FULL_PATH"/system/.restricted/debug_*.txt
Event Timeline
Log In to Comment