=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- openbsd/update_openbsd/release.sh 2006/10/11 00:48:15 1.2 +++ openbsd/update_openbsd/release.sh 2006/10/13 19:18:51 1.5 @@ -1,5 +1,5 @@ #!/bin/sh -# +# $RedRiver: release.sh,v 1.4 2006/10/13 18:12:23 andrew Exp $ # Copyright (c) 2002 - 2006, FenderQ # All rights reserved. # @@ -38,7 +38,7 @@ DEST="/usr/dest" RELEASE="/usr/release" -CVSTAG="OPENBSD_3_9" +CVSTAG=`uname -r | awk '{ sub("\\\.","_"); print "OPENBSD_" $0 }'` #SOURCES="src ports XF4" SOURCES="src ports" @@ -83,7 +83,7 @@ echo "********** Make and validate the system release **********" cd /usr/src/distrib/crunch && make obj depend all install export DESTDIR=$DEST RELEASEDIR=$RELEASE - rm -rf $DESTDIR + rm -rf $DESTDIR/* mkdir -p $DESTDIR $RELEASEDIR cd /usr/src/etc && nice make release cd /usr/src/distrib/sets && sh checkflist