From b6c056c1dbe401125a9bbf3e856f70cb1844ab52 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sat, 7 Feb 2009 00:34:45 +0000 Subject: [PATCH] Small fix up should work now when ran from anywhere :) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9314 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/develop/collect_cache_stats.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/develop/collect_cache_stats.sh b/phpBB/develop/collect_cache_stats.sh index 8231a3caea..5bb31c5173 100755 --- a/phpBB/develop/collect_cache_stats.sh +++ b/phpBB/develop/collect_cache_stats.sh @@ -1,2 +1,3 @@ #!/bin/sh -cat sql_*.php | grep '/* SELECT' | sed 's,/\* ,,;s, \*/,,' | sort > _cache.txt +DIR=$(dirname "$0")/../cache; +cat "$DIR/sql_*.php" | grep '/* SELECT' | sed 's,/\* ,,;s, \*/,,' | sort