IDEA-74625 (secure temp file creation in a startup scripts)

This commit is contained in:
Roman Shevchenko
2011-10-07 19:30:33 +02:00
parent b3abc4a66e
commit 9ef8a1a286
+1 -1
View File
@@ -52,7 +52,7 @@ if [ -z "$JDK" ]; then
fi
fi
VERSION_LOG='/tmp/java.version.log'
VERSION_LOG=`mktemp -t java.version.log.XXXX`
$JDK/bin/java -version 2> $VERSION_LOG
grep 'OpenJDK' $VERSION_LOG
OPEN_JDK=$?