Index: tools/clear_cache.sh IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- tools/clear_cache.sh (revision 15664) +++ tools/clear_cache.sh (revision ) @@ -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" | xargs rm -Rf +rm $FULL_PATH/system/.restricted/debug_*.txt -Rf