From 643a7ec6bfb5a7c9d9731affca84d29325bac0e9 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Wed, 20 Jul 2022 23:35:42 +0800 Subject: [PATCH] make scratch locate ignore case --- scratch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratch b/scratch index db505ad..650175c 100755 --- a/scratch +++ b/scratch @@ -196,7 +196,7 @@ scratch_integrity() { scratch_locate() { needarg $@ for repo in $PORT_REPO; do - grep -R $@ $repo/*/.pkgfiles 2>/dev/null | sed 's/:/ /;s/\/\.pkgfiles//' | awk '{print $1,$4}' + grep -Ri $@ $repo/*/.pkgfiles 2>/dev/null | sed 's/:/ /;s/\/\.pkgfiles//' | awk '{print $1,$4}' done }