svn commit: r243159 - projects/portbuild/scripts

Mark Linimon linimon at FreeBSD.org
Fri Nov 16 19:41:56 UTC 2012


Author: linimon (doc,ports committer)
Date: Fri Nov 16 19:41:55 2012
New Revision: 243159
URL: http://svnweb.freebsd.org/changeset/base/243159

Log:
  Now that this is tested, enable svn and zfs.

Modified:
  projects/portbuild/scripts/updatesnap

Modified: projects/portbuild/scripts/updatesnap
==============================================================================
--- projects/portbuild/scripts/updatesnap	Fri Nov 16 19:39:29 2012	(r243158)
+++ projects/portbuild/scripts/updatesnap	Fri Nov 16 19:41:55 2012	(r243159)
@@ -74,26 +74,26 @@ for branch in $SRC_BRANCHES; do
     if [ ! -d ${mountpoint}/src ]; then
       mkdir ${mountpoint}/src || finish 1
     fi
-    if [ ! -d .svn ]; then
+    if [ ! -d ${mountpoint}/src/.svn ]; then
       if [ $VERBOSE ]; then
-        # XXX MCL 20121115 gotta do the substitution here!
+        # XXX MCL 20121115 gotta do the substitution here, if it's not head!
         echo "svn checkout svn://svn.freebsd.org/base/head ${mountpoint}/src"
       fi
-      #svn checkout svn://svn.freebsd.org/base/head ${mountpoint}/src || finish 1
+      svn checkout svn://svn.freebsd.org/base/head ${mountpoint}/src || finish 1
     else
       if [ $VERBOSE ]; then
         echo "svn up"
       fi
-      #svn up || finish 1
+      svn up || finish 1
     fi
     echo ${fulldate} > src/.updated
     # hack for zfs breakiness
     find . -group wheel|xargs chgrp portmgr
     snapdate=$(stamp ${fulldate})
     if [ $VERBOSE ]; then
-      echo "#zfs snapshot ${zbase_prefix}${branch}/src@${snapdate}"
+      echo "zfs snapshot ${zbase_prefix}${branch}/src@${snapdate}"
     fi
-    #zfs snapshot ${zbase_prefix}${branch}/src@${snapdate} || finish 1
+    zfs snapshot ${zbase_prefix}${branch}/src@${snapdate} || finish 1
 done
 
 finish 0


More information about the svn-src-projects mailing list