Browse Source

fixed Create-SrcTar to not create a CVS dir and not archive .svn/CVS files

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1046 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
8fe13e8690
2 changed files with 5 additions and 15 deletions
  1. +3
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +2
    -15
      scripts/Create-SrcTar

+ 3
- 0
Documentation/Developers/CHANGELOG-RENE

@ -1,6 +1,9 @@
This is not only the CHANGELOG of the desktop target, but also of the This is not only the CHANGELOG of the desktop target, but also of the
whole rxr-tree. whole rxr-tree.
*) 2003-08-12 (2.0.0-camp - 2.0.0-rc1)
- fixed Create-SrcTar to not create a CVS dir and not archive .svn/CVS files
*) 2003-08-09 (2.0.0-camp - 2.0.0-rc1) *) 2003-08-09 (2.0.0-camp - 2.0.0-rc1)

+ 2
- 15
scripts/Create-SrcTar

@ -51,26 +51,13 @@ fi
cp download/INDEX $src/rock-src-$rockver/download/ cp download/INDEX $src/rock-src-$rockver/download/
if [ -d scripts/CVS ] ; then
mkdir -p $src/rock-src-$rockver/CVS
cp scripts/CVS/Root $src/rock-src-$rockver/CVS/
cp scripts/CVS/Repository $src/rock-src-$rockver/CVS/
cat << EOT > $src/rock-src-$rockver/CVS/Entries
D/Documentation////
D/architecture////
D/misc////
D/package////
D/scripts////
D/target////
EOT
fi
# Create tar file # Create tar file
# #
( (
cd $src cd $src
tar --use-compress-program=bzip2 --owner root --group root \ tar --use-compress-program=bzip2 --owner root --group root \
-cf - rock-src-$rockver/*/* rock-src-$rockver/[CRV]*
--exclude .svn --exclude CVS \
-cf - rock-src-$rockver/*/* rock-src-$rockver/[CRV]*
) > ${1:-rock-src-$rockver.tar.bz2} ) > ${1:-rock-src-$rockver.tar.bz2}
# Done. # Done.

Loading…
Cancel
Save