From eccec56ef91b0434ca25357b5ef669fc1f8de20b Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sat, 13 Jan 2018 16:32:07 +0800 Subject: [PATCH] updated --- scratch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratch b/scratch index 3849750..874cc80 100755 --- a/scratch +++ b/scratch @@ -80,7 +80,7 @@ searchpkg() { if [ -d $port ]; then OUTPUT=() pushd $port - OUTPUT=$(grep -R "# description" | grep -i "$SEARCH_PKG" | cut -d '/' -f1) + OUTPUT=$(grep -R "# description" | grep -i "$SEARCH_PKG" | grep "$BUILD_SCRIPT" | cut -d '/' -f1) popd if [ "$OUTPUT" ]; then found=yes