experimental
Last change
on this file since 3d1e5a7 was 1d2f9d4, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago |
Added prototipe files for new BLFS module.
|
-
Property mode
set to
100755
|
File size:
295 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # $Id$
|
---|
4 | #
|
---|
5 | set -e
|
---|
6 |
|
---|
7 | BLFS_XML=$1
|
---|
8 |
|
---|
9 | > packages.tmp
|
---|
10 |
|
---|
11 | for file in `find $BLFS_XML -name "*.xml"` ; do
|
---|
12 | pkg_id=`grep "sect1 id" $file | sed -e 's/<sect1 id="//;s/".*//'`
|
---|
13 | [[ ! -z "$pkg_id" ]] && echo -e "$pkg_id\t$file" >> packages.tmp
|
---|
14 | done
|
---|
15 |
|
---|
16 | sort packages.tmp -o packages
|
---|
17 | rm packages.tmp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.