summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiyuki Asaba2008-03-25 01:34:51 +0000
committerYoshiyuki Asaba2008-03-25 01:34:51 +0000
commitac49446296f90152059bdf69bfdfae233c2b2e19 (patch)
tree30a6861488d2a30be77d16b16ddc4fa2660e9be0
parent88cf09b3667925a0444a609a9ebb6a638c553b51 (diff)
Use cvs export instead of cvs checkout.
-rwxr-xr-xtools/make_tarball.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/make_tarball.sh b/tools/make_tarball.sh
index 83b4e77..1b1f5ca 100755
--- a/tools/make_tarball.sh
+++ b/tools/make_tarball.sh
@@ -10,7 +10,7 @@ export CVSROOT
case $# in
0)
- TAGOPT=
+ TAGOPT="-r HEAD"
VERSION=snapshot
;;
2)
@@ -26,13 +26,10 @@ esac
PACKAGE_DIR=pgpoolAdmin-$VERSION
rm -rf $PACKAGE_DIR
-cvs checkout $TAGOPT -d $PACKAGE_DIR pgpoolAdmin
+cvs export $TAGOPT -d $PACKAGE_DIR pgpoolAdmin
# create templates_c directory.
mkdir $PACKAGE_DIR/templates_c
-# remove CVS and tools directory
-find $PACKAGE_DIR -name CVS -o -name tools -type d | xargs rm -rf
-
# make tar ball
tar czf $PACKAGE_DIR.tar.gz $PACKAGE_DIR