mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-13 05:20:18 +03:00
Fix info_item $ARCH visualization
This patch fixes most of the problems with $ARCH visualization in info_item. Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
parent
e41f94790f
commit
0753b20302
@ -638,7 +638,8 @@ info_item () {
|
|||||||
RVERSION=$(grep VERSION $SHORTPATH/$APP.info |
|
RVERSION=$(grep VERSION $SHORTPATH/$APP.info |
|
||||||
cut -d= -f2 | sed s/\"//g)
|
cut -d= -f2 | sed s/\"//g)
|
||||||
RARCH=$(egrep -m1 "^ARCH" $SHORTPATH/$APP.SlackBuild |
|
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 |
|
RBUILD=$(egrep -m1 "^BUILD" $SHORTPATH/$APP.SlackBuild |
|
||||||
sed -e 's/^.*[=-]//;s/\"//;s/[ #}\t].*$//g;s/\"//g')
|
sed -e 's/^.*[=-]//;s/\"//;s/[ #}\t].*$//g;s/\"//g')
|
||||||
U="README"
|
U="README"
|
||||||
|
Loading…
Reference in New Issue
Block a user