No more -a; no more contrib
This commit is contained in:
parent
e1669c41cd
commit
38307a7e34
2 changed files with 1 additions and 22 deletions
|
@ -18,6 +18,5 @@ su bin -c 'makewhatis /usr/man'
|
|||
su bin -c 'makewhatis /usr/gnu/man'
|
||||
su bin -c 'makewhatis /usr/local/man'
|
||||
mv /usr/src/commands /usr/src.commands
|
||||
mv /usr/src/contrib /usr/src.contrib
|
||||
exit 0
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ BS=4096
|
|||
|
||||
HDEMU=0
|
||||
COPY=0
|
||||
ALL=0
|
||||
QUICK=0
|
||||
|
||||
while getopts "chaq?" c
|
||||
|
@ -86,10 +85,6 @@ do
|
|||
echo " * Copying, not CVS"
|
||||
COPY=1
|
||||
;;
|
||||
a)
|
||||
echo " * Including contrib"
|
||||
ALL=1
|
||||
;;
|
||||
q)
|
||||
echo " * Quick option (skip important bits"
|
||||
QUICK=1
|
||||
|
@ -178,28 +173,13 @@ then
|
|||
if [ "$COPY" -ne 1 ]
|
||||
then
|
||||
echo " * Doing new cvs export"
|
||||
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
|
||||
( cd $RELEASEDIR/usr && mkdir src && cvs export -rHEAD src )
|
||||
else
|
||||
( cd .. && make clean )
|
||||
srcdir=/usr/src
|
||||
( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - )
|
||||
fi
|
||||
|
||||
if [ "$ALL" = 0 ]
|
||||
then echo " * Removing temporary cvs source tree"
|
||||
rm -rf src
|
||||
fi
|
||||
|
||||
echo " * Fixups for owners and modes of dirs and files"
|
||||
chown -R bin $RELEASEDIR/usr/src
|
||||
find $RELEASEDIR/usr/src -type d | xargs chmod 755
|
||||
|
|
Loading…
Reference in a new issue