Sort BLFS packages file by XML filename.

This commit is contained in:
Manuel Canales Esparcia 2006-08-17 21:19:23 +00:00
parent 350c9cb972
commit ee8dc261dc
2 changed files with 30 additions and 32 deletions

View file

@ -4,7 +4,7 @@
#
export outFile=aConfig.in # file for reading and writing to.
export inFile=packages.sorted # file for reading and writing to.
export inFile=packages # file for reading and writing to.
declare TRACKING_DIR=/var/lib/jhalfs/BLFS
@ -28,8 +28,6 @@ get_pkg_ver() {
}
sort packages -b --key=2 --field-separator=/ --output=packages.sorted
> $outFile
#---------------------#

View file

@ -34,10 +34,10 @@ kde-full $BLFS_XML
kde-koffice $BLFS_XML
xorg7 $BLFS_XML
EOF
} > packages
} >> packages.tmp
# Dump packages list
sort packages.tmp >> packages
sort packages.tmp -b --key=2 --field-separator=/ --output=packages
# Clean up
rm packages.tmp