mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-22 00:45:01 +00:00
fix search no description
This commit is contained in:
1
scratch
1
scratch
@@ -624,6 +624,7 @@ searchpkg() {
|
||||
for out in ${OUTPUT[@]}; do
|
||||
if [ -f $port/$out/$BUILD_SCRIPT ]; then
|
||||
pushd $port/$out
|
||||
description=$(grep "^# description[[:blank:]]*:" $BUILD_SCRIPT | sed 's/^# description[[:blank:]]*:[[:blank:]]*//')
|
||||
. $BUILD_SCRIPT
|
||||
popd
|
||||
if [ ! -z "$name" ] && [ ! -z "$version" ] && [ ! -z "$release" ]; then
|
||||
|
||||
Reference in New Issue
Block a user