aboutsummaryrefslogtreecommitdiffstats
path: root/oni-php/scripts/find-php-class
diff options
context:
space:
mode:
Diffstat (limited to 'oni-php/scripts/find-php-class')
-rwxr-xr-xoni-php/scripts/find-php-class2
1 files changed, 1 insertions, 1 deletions
diff --git a/oni-php/scripts/find-php-class b/oni-php/scripts/find-php-class
index 65f43fc..d8795c2 100755
--- a/oni-php/scripts/find-php-class
+++ b/oni-php/scripts/find-php-class
@@ -5,7 +5,7 @@
(let* ((class-name (cadr args))
(file-names
(run/strings (find "." -type f -name ,(string-append class-name ".php")
- -exec grep "namespace" "{}" ";")
+ -exec grep "^namespace" "{}" ";")
(> 2 "/dev/null"))))
(format #t "~s"
(delete-duplicates