Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F2115101
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
Wed, Nov 18, 5:21 PM
Size
643 B
Mime Type
text/x-diff
Expires
Fri, Nov 20, 5:21 PM (19 m, 16 s)
Engine
blob
Format
Raw Data
Handle
994834
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