Index: /trunk/src/VBox/Installer/solaris/makepackage.sh
===================================================================
--- /trunk/src/VBox/Installer/solaris/makepackage.sh	(revision 29889)
+++ /trunk/src/VBox/Installer/solaris/makepackage.sh	(revision 29890)
@@ -6,5 +6,5 @@
 
 #
-# Copyright (C) 2007-2009 Oracle Corporation
+# Copyright (C) 2007-2010 Oracle Corporation
 #
 # This file is part of VirtualBox Open Source Edition (OSE), as
@@ -50,4 +50,7 @@
 VBOX_PKG_ARCH=$3
 VBOX_SVN_REV=$4
+if [ -f LICENSE ]; then
+    VBOX_LICENSEFILE=LICENSE
+fi
 
 VBOX_PKGNAME=SUNWvbox
@@ -209,7 +212,7 @@
 # $5 if exist would contain the path to the VBI package to include in the .tar.gz
 if test -f "$5"; then
-    $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" "$5" autoresponse ReadMe.txt
+    $VBOX_GTAR zcvf "$VBOX_ARCHIVE" $VBOX_LICENSEFILE "$VBOX_PKGFILE" "$5" autoresponse ReadMe.txt
 else
-    $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" autoresponse ReadMe.txt
+    $VBOX_GTAR zcvf "$VBOX_ARCHIVE" $VBOX_LICENSEFILE "$VBOX_PKGFILE" autoresponse ReadMe.txt
 fi
 
