svn commit: r266824 - user/nwhitehorn/condorports

Nathan Whitehorn nwhitehorn at FreeBSD.org
Thu May 29 00:44:59 UTC 2014


Author: nwhitehorn
Date: Thu May 29 00:44:59 2014
New Revision: 266824
URL: http://svnweb.freebsd.org/changeset/base/266824

Log:
  Ugh. Never "improve" commits post-testing.

Modified:
  user/nwhitehorn/condorports/prepbuildjail

Modified: user/nwhitehorn/condorports/prepbuildjail
==============================================================================
--- user/nwhitehorn/condorports/prepbuildjail	Thu May 29 00:42:57 2014	(r266823)
+++ user/nwhitehorn/condorports/prepbuildjail	Thu May 29 00:44:59 2014	(r266824)
@@ -52,8 +52,8 @@ mount -t tmpfs tmpfs /scratch/$slot
 
 #cp -a /scratch/$release/ /scratch/$slot
 tar -C /scratch/$slot -xf /buildshare/releases/$release.tar
-if [ -n "/buildshare/ports/$ports" ]; then
-	mkdir -p /scratch/$slot/buildshare/$ports
+if [ -n "$ports" ]; then
+	mkdir -p /scratch/$slot/buildshare/ports/$ports
 	echo "/buildshare/ports/$ports /scratch/$slot/buildshare/ports/$ports nullfs ro 0 0" >> /scratch/$slot.fstab
 fi
 


More information about the svn-src-user mailing list