diff --git a/BLFS/libs/func_packages b/BLFS/libs/func_packages index a9385e6..39db618 100644 --- a/BLFS/libs/func_packages +++ b/BLFS/libs/func_packages @@ -32,7 +32,7 @@ get_pkg_ver() { # Find package version for a given package ID xfs ) pkg_id=xfsprogs ;; esac - xmllint --noent ./blfs-xml/book/bookinfo.xml 2>/dev/null | \ + xmllint --noent ./${BLFS_XML}/book/bookinfo.xml 2>/dev/null | \ grep -i " ${pkg_id}-version " | cut -d "\"" -f2 }