diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index 4393fce..4b9b3f5 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -638,7 +638,8 @@ info_item () { RVERSION=$(grep VERSION $SHORTPATH/$APP.info | cut -d= -f2 | sed s/\"//g) RARCH=$(egrep -m1 "^ARCH" $SHORTPATH/$APP.SlackBuild | - sed -e 's/^.*[=-]//;s/\"//;s/[ #}\t].*$//g;s/\"//g') + sed -e "s/\([^\t #]*\)[\t #].*/\1/;s/[^=]*=//;s/\${[^-]*-\(.*\)}/\1/;\ +s/\$.*/unknown/") RBUILD=$(egrep -m1 "^BUILD" $SHORTPATH/$APP.SlackBuild | sed -e 's/^.*[=-]//;s/\"//;s/[ #}\t].*$//g;s/\"//g') U="README"