diff options
author | Chris Smith <toonarmy@phpbb.com> | 2009-02-07 00:34:45 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2009-02-07 00:34:45 +0000 |
commit | b6c056c1dbe401125a9bbf3e856f70cb1844ab52 (patch) | |
tree | 732aeb3e2760295ea6f7b3480a1500e3d3397d8a /phpBB | |
parent | afb5f07213cc26bfd4f996a5a7f1c9eea7ddb550 (diff) | |
download | forums-b6c056c1dbe401125a9bbf3e856f70cb1844ab52.tar forums-b6c056c1dbe401125a9bbf3e856f70cb1844ab52.tar.gz forums-b6c056c1dbe401125a9bbf3e856f70cb1844ab52.tar.bz2 forums-b6c056c1dbe401125a9bbf3e856f70cb1844ab52.tar.xz forums-b6c056c1dbe401125a9bbf3e856f70cb1844ab52.zip |
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
Diffstat (limited to 'phpBB')
-rwxr-xr-x | phpBB/develop/collect_cache_stats.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |