Ignore commented lines in .vmoptions

This commit is contained in:
Roman Shevchenko
2011-12-14 23:18:26 +01:00
parent d630c4ba3c
commit c09797873d
+1 -1
View File
@@ -124,7 +124,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=""