Index: /trunk/src/VBox/Additions/solaris/Installer/makepackage.sh
===================================================================
--- /trunk/src/VBox/Additions/solaris/Installer/makepackage.sh	(revision 8124)
+++ /trunk/src/VBox/Additions/solaris/Installer/makepackage.sh	(revision 8125)
@@ -29,5 +29,5 @@
 
 # check for GNU grep we use which might not ship with all Solaris
-if test ! -f "$MY_GGREP" || test ! -h "$MY_GGREP"; then
+if test ! -f "$MY_GGREP" && test ! -h "$MY_GGREP"; then
     echo "## GNU grep not found in $MY_GGREP."
     exit 1
Index: /trunk/src/VBox/Installer/solaris/makepackage.sh
===================================================================
--- /trunk/src/VBox/Installer/solaris/makepackage.sh	(revision 8124)
+++ /trunk/src/VBox/Installer/solaris/makepackage.sh	(revision 8125)
@@ -30,5 +30,5 @@
 
 # check for GNU grep we use which might not ship with all Solaris
-if test ! -f "$MY_GGREP" || test ! -h "$MY_GGREP"; then
+if test ! -f "$MY_GGREP" && test ! -h "$MY_GGREP"; then
     echo "## GNU grep not found in $MY_GGREP."
     exit 1
@@ -36,5 +36,5 @@
 
 # check for GNU tar we use which might not ship with all Solaris
-if test ! -f "$MY_GTAR" || test ! -h "$MY_GTAR"; then
+if test ! -f "$MY_GTAR" && test ! -h "$MY_GTAR"; then
     echo "## GNU tar not found in $MY_GTAR."
     exit 1
