Subversion Repositories svn LFS-FR

Rev

Rev 1346 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
604 texou 1
#!/bin/bash
2
 
1401 jmengual 3
rm -f hlfs-bootscripts*.tar.bz2
604 texou 4
 
5
# Get base file name and move bootscripts directory to that name
1401 jmengual 6
version=`grep "ENTITY hlfs-bootscripts-version" packages.ent |cut -d'"' -f2`
7
mv bootscripts hlfs-bootscripts-$version
604 texou 8
 
9
# Create the tarball and clean up
1401 jmengual 10
tar -cjf hlfs-bootscripts-$version.tar.bz2 --exclude .svn hlfs-bootscripts-$version
11
mv hlfs-bootscripts-$version bootscripts
604 texou 12
 
13
rm -f udev-config*.bz2
14
 
15
# Get file name and move udev config directory to that name
16
version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
17
mv udev-config $version
18
 
19
# Create the tarball and clean up
20
tar -cjf $version.tar.bz2 --exclude .svn $version
21
mv $version udev-config
22