mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-02-05 00:25:53 +00:00
fix scratch search grep error msg
This commit is contained in:
2
scratch
2
scratch
@@ -943,7 +943,7 @@ scratch_search() {
|
||||
arg=$*
|
||||
for repo in $PORT_REPO; do
|
||||
[ -d $repo ] || continue
|
||||
out=$(grep -R "# description" $repo | grep $BUILD_SCRIPT | grep "$arg" | awk -F : '{print $1}' | sort)
|
||||
out=$(grep -R "# description" $repo/*/$BUILD_SCRIPT | grep "$arg" | awk -F : '{print $1}' | sort)
|
||||
[ "$out" ] || continue
|
||||
found=1
|
||||
for line in $out; do
|
||||
|
||||
Reference in New Issue
Block a user