This commit is contained in:
emmett1
2018-01-13 16:32:07 +08:00
parent 396c5cbe1e
commit eccec56ef9

View File

@@ -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