summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/java-utils.eclass b/eclass/java-utils.eclass
index 4818fe597254..51e7a4eb03d7 100644
--- a/eclass/java-utils.eclass
+++ b/eclass/java-utils.eclass
@@ -23,7 +23,7 @@ java-utils_pkg_setup() {
java-utils_setup-vm() {
local vendor=`java-utils_get-vm-vendor`
- if [ ${vendor} = "sun-jdk" ] && java-utils_is-vm-version-ge 1 5; then
+ if [[ ${vendor} = "sun-jdk" ]] && java-utils_is-vm-version-ge 1 5; then
addpredict "/dev/random"
elif [[ ${vendor} = "ibm-jdk-bin" ]]; then
addwrite "/proc/self/maps"