We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd39044 commit 5c91ed9Copy full SHA for 5c91ed9
scratch
@@ -959,7 +959,11 @@ scratch_search() {
959
arg=$*
960
for repo in $PORT_REPO; do
961
[ -d $repo ] || continue
962
- out=$(grep -R "# description" $repo/*/$BUILD_SCRIPT | grep -i "$arg" | awk -F : '{print $1}' | sort)
+ dummyport=/tmp/dummyport
963
+ mkdir -p $dummyport
964
+ touch $dummyport/spkgbuild
965
+ out=$(grep -R "# description" $repo/*/$BUILD_SCRIPT /tmp/dummy-port/spkgbuild | grep -i "$arg" | awk -F : '{print $1}' | sort)
966
+ rm -fr $dummyport
967
[ "$out" ] || continue
968
found=1
969
for line in $out; do
0 commit comments