From: Ben Gras Date: Thu, 8 Sep 2005 17:04:35 +0000 (+0000) Subject: Direct cvs export X-Git-Tag: v3.1.0~145 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=db547b97f36cf9eb7af5fe622aebd8bd87277956;p=minix.git Direct cvs export --- diff --git a/tools/release.sh b/tools/release.sh index 276c9d0d7..e258eaf3e 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -174,23 +174,23 @@ then if [ "$COPY" -ne 1 ] then echo " * Doing new cvs export" - rm -rf src - cvs export -rHEAD src >/dev/null || exit 1 - srcdir=src if [ "$ALL" = 0 ] then + cvs export -rHEAD src >/dev/null || exit 1 + srcdir=src # No contrib stuff rm -rf src/contrib + echo " * Transfering source to $RELEASEDIR" + ( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - ) + else + ( cd $RELEASEDIR/usr && mkdir src && cvs export -rHEAD src ) fi else ( cd .. && make clean ) srcdir=/usr/src + ( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - ) fi - echo " * Transfering source to $RELEASEDIR" - - ( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - ) - if [ "$ALL" = 0 ] then echo " * Removing temporary cvs source tree" rm -rf src