Ignore commented lines in .vmoptions

This commit is contained in:
Roman Shevchenko
2011-12-14 23:16:51 +01:00
parent 3349c6c867
commit 7df9c94cf0
+1 -1
View File
@@ -129,7 +129,7 @@ fi
# if VM options file exists - use it
if [ -r "$VM_OPTIONS_FILE" ]; then
JVM_ARGS=`tr '\n' ' ' < "$VM_OPTIONS_FILE"`
JVM_ARGS=`cat "$VM_OPTIONS_FILE" | grep -ve "^#.*" | tr '\n' ' '`
JVM_ARGS="$JVM_ARGS -Djb.vmOptionsFile=\"$VM_OPTIONS_FILE\""
# only extract properties (not VM options) from Info.plist
INFO_PLIST_PARSER_OPTIONS=""