13879 Package publishing fails on systems without entire osol_131
authorDavid Powell <David.Powell@sun.com>
Wed, 13 Jan 2010 19:09:18 -0800
changeset 415 0cfa9dbc9ba7
parent 414 20cbea62f6f9
child 416 c3579b001b70
13879 Package publishing fails on systems without entire Added tag osol_130 for changeset fc1223edbd8d
.hgtags
usr/src/pkgdefs/publish.ksh
--- a/.hgtags	Wed Jan 13 14:14:02 2010 -0500
+++ b/.hgtags	Wed Jan 13 19:09:18 2010 -0800
@@ -2,3 +2,4 @@
 ec3ac4f44cad93e92555cecaeb6094ec628e4960 osol_111b
 488b14504646ce5ac8511574b02f11527ac72778 osol_120
 f217f42865814e1aefc2e1ea758fc2065cb7a10b osol_126
+fc1223edbd8d9482fffd33d4ea31a8e6e59e2c6f osol_130
\ No newline at end of file
--- a/usr/src/pkgdefs/publish.ksh	Wed Jan 13 14:14:02 2010 -0500
+++ b/usr/src/pkgdefs/publish.ksh	Wed Jan 13 19:09:18 2010 -0800
@@ -21,7 +21,7 @@
 #
 
 #
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 
@@ -29,7 +29,7 @@
 PKGDIR=$2
 VERSION=$3
 if [[ -z $VERSION ]]; then
-	VERSION=`pkg list -Hv entire | sed 's/^.*@\(.*\):.*$/\1/'`
+	VERSION=`pkg list -Hv SUNWipkg | sed 's/^.*@\(.*\):.*$/\1/'`.1
 	if [[ $? != 0 ]]; then
 		echo "Not running on an IPS-based system"
 		exit