Direct cvs export
This commit is contained in:
parent
a54ce8cf1d
commit
db547b97f3
1 changed files with 7 additions and 7 deletions
|
@ -174,22 +174,22 @@ 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
|
||||
fi
|
||||
|
||||
echo " * Transfering source to $RELEASEDIR"
|
||||
|
||||
( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - )
|
||||
fi
|
||||
|
||||
if [ "$ALL" = 0 ]
|
||||
then echo " * Removing temporary cvs source tree"
|
||||
|
|
Loading…
Reference in a new issue