r3461 - jhalfs/branches/2.3.x/BLFS/libs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Aug 13 11:44:40 PDT 2007


Author: manuel
Date: 2007-08-13 12:44:40 -0600 (Mon, 13 Aug 2007)
New Revision: 3461

Modified:
   jhalfs/branches/2.3.x/BLFS/libs/func_packages
Log:
Merged r3460 from trunk.

Modified: jhalfs/branches/2.3.x/BLFS/libs/func_packages
===================================================================
--- jhalfs/branches/2.3.x/BLFS/libs/func_packages	2007-08-13 18:43:08 UTC (rev 3460)
+++ jhalfs/branches/2.3.x/BLFS/libs/func_packages	2007-08-13 18:44:40 UTC (rev 3461)
@@ -27,13 +27,12 @@
     wireless_tools ) pkg_id=wireless-tools ;;
         bind-utils ) pkg_id=bind ;;
          html-tidy ) pkg_id=tidy ;;
-               jdk ) pkg_id=jdk-src ;;
           reiserfs ) pkg_id=reiser ;;
                xfs ) pkg_id=xfsprogs ;;
   esac
 
   xmllint --noent ./${BLFS_XML}/book/bookinfo.xml 2>/dev/null | \
-  grep -i " ${pkg_id}-version " | cut -d "\"" -f2
+  grep -i " ${pkg_id}-version " | cut -d "\"" -f2 | sed "s/ /_/g"
 
 }
 
@@ -57,7 +56,7 @@
       find $TRACKING_DIR -name "${pkg_id}-p[[:digit:]]*" | sed "s/.*${pkg_id}-//"
       ;;
     * )
-      find $TRACKING_DIR -name "${pkg_id}-[[:digit:]]*" | sed "s/.*${pkg_id}-//"
+      find $TRACKING_DIR -name "${pkg_id}-[[:digit:]]*" | sed "s/.*${pkg_id}-//" | sed "s/ /_/g"
       ;;
   esac
 




More information about the alfs-log mailing list