Fix ALSA packages version.
This commit is contained in:
parent
c704412372
commit
fd3dcd4db4
1 changed files with 3 additions and 1 deletions
|
@ -23,8 +23,10 @@ declare PKG_VER
|
||||||
get_pkg_ver() {
|
get_pkg_ver() {
|
||||||
local this_script=$1
|
local this_script=$1
|
||||||
|
|
||||||
|
[[ ${this_script:0:4} = "alsa" ]] && this_script=alsa
|
||||||
|
|
||||||
PKG_VER=$(xmllint --noent ./blfs-xml/book/bookinfo.xml 2>/dev/null | \
|
PKG_VER=$(xmllint --noent ./blfs-xml/book/bookinfo.xml 2>/dev/null | \
|
||||||
grep -i " ${this_script#*-?-}-version " | cut -d "\"" -f2 )
|
grep -i " ${this_script}-version " | cut -d "\"" -f2 )
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue