Direct cvs export
This commit is contained in:
parent
a54ce8cf1d
commit
db547b97f3
1 changed files with 7 additions and 7 deletions
|
@ -174,23 +174,23 @@ then
|
||||||
if [ "$COPY" -ne 1 ]
|
if [ "$COPY" -ne 1 ]
|
||||||
then
|
then
|
||||||
echo " * Doing new cvs export"
|
echo " * Doing new cvs export"
|
||||||
rm -rf src
|
|
||||||
cvs export -rHEAD src >/dev/null || exit 1
|
|
||||||
srcdir=src
|
|
||||||
if [ "$ALL" = 0 ]
|
if [ "$ALL" = 0 ]
|
||||||
then
|
then
|
||||||
|
cvs export -rHEAD src >/dev/null || exit 1
|
||||||
|
srcdir=src
|
||||||
# No contrib stuff
|
# No contrib stuff
|
||||||
rm -rf src/contrib
|
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
|
fi
|
||||||
else
|
else
|
||||||
( cd .. && make clean )
|
( cd .. && make clean )
|
||||||
srcdir=/usr/src
|
srcdir=/usr/src
|
||||||
|
( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " * Transfering source to $RELEASEDIR"
|
|
||||||
|
|
||||||
( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - )
|
|
||||||
|
|
||||||
if [ "$ALL" = 0 ]
|
if [ "$ALL" = 0 ]
|
||||||
then echo " * Removing temporary cvs source tree"
|
then echo " * Removing temporary cvs source tree"
|
||||||
rm -rf src
|
rm -rf src
|
||||||
|
|
Loading…
Reference in a new issue