From 7df9c94cf016786e2947921878516017571eaa67 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 14 Dec 2011 18:05:48 +0100 Subject: [PATCH] Ignore commented lines in .vmoptions --- python/build/pycharm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/build/pycharm.sh b/python/build/pycharm.sh index 4ef59e500fbc..1ed235f26b03 100644 --- a/python/build/pycharm.sh +++ b/python/build/pycharm.sh @@ -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=""