r3010 - jhalfs/branches/experimental/BLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Aug 18 12:47:01 PDT 2006


Author: manuel
Date: 2006-08-18 13:47:00 -0600 (Fri, 18 Aug 2006)
New Revision: 3010

Modified:
   jhalfs/branches/experimental/BLFS/gen_config.sh
Log:
Fix ALSA packages version.

Modified: jhalfs/branches/experimental/BLFS/gen_config.sh
===================================================================
--- jhalfs/branches/experimental/BLFS/gen_config.sh	2006-08-18 19:08:11 UTC (rev 3009)
+++ jhalfs/branches/experimental/BLFS/gen_config.sh	2006-08-18 19:47:00 UTC (rev 3010)
@@ -23,8 +23,10 @@
 get_pkg_ver() {
   local this_script=$1
 
+  [[ ${this_script:0:4} = "alsa" ]] && this_script=alsa
+
   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 )
 
 }
 




More information about the alfs-log mailing list