aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/collect_cache_stats.sh
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/develop/collect_cache_stats.sh')
-rwxr-xr-xphpBB/develop/collect_cache_stats.sh3
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