src/brand/pkgcreatezone
branch2010.2H
changeset 2189 dc8c8c2abf35
parent 2124 74a1732c2d10
--- a/src/brand/pkgcreatezone	Thu Nov 04 11:24:40 2010 -0700
+++ b/src/brand/pkgcreatezone	Wed Jan 12 12:15:37 2011 +1300
@@ -21,7 +21,7 @@
 #
 
 #
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
@@ -344,8 +344,8 @@
 	printf "$m_cert_prop\n" $(basename $certfile)
 	mkdir -p -m 755 $ZONEROOT/$KEYDIR || fail_fatal "$f_cert_prop"
 	cp $certfile $ZONEROOT/$newcertlocation || fail_fatal "$f_cert_prop"
-	chmod 644 $ZONEROOT/$newkeylocation
-	chown -h root:root $ZONEROOT/$newkeylocation
+	chmod 644 $ZONEROOT/$newcertlocation
+	chown -h root:root $ZONEROOT/$newcertlocation
 fi
 
 #