This repository was archived by the owner on Feb 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,14 +168,13 @@ else
168168 JVMMainClass=` /usr/libexec/PlistBuddy -c " print :JVMMainClassName" " ${InfoPlistFile} " 2> /dev/null`
169169
170170 # read the JVM Options
171- JVMOptions=` /usr/libexec/PlistBuddy -c " print :JVMOptions" " ${InfoPlistFile} " 2> /dev/null | grep " -" | tr ' \n' ' ' | sed ' s/ */ /g' | xargs`
171+ JVMOptions=` /usr/libexec/PlistBuddy -c " print :JVMOptions" " ${InfoPlistFile} " 2> /dev/null | grep " -" | tr -d ' \n' | sed ' s/ */ /g' | xargs`
172172
173173 # read the JVM Default Options
174- JVMDefaultOptions=` /usr/libexec/PlistBuddy -c " print :JVMDefaultOptions" " ${InfoPlistFile} " 2> /dev/null | grep -o " \-.*" | tr ' \n' ' ' | xargs`
174+ JVMDefaultOptions=` /usr/libexec/PlistBuddy -c " print :JVMDefaultOptions" " ${InfoPlistFile} " 2> /dev/null | grep -o " \-.*" | tr -d ' \n' | xargs`
175175
176176 # read the JVM Arguments
177- JVMArguments=` /usr/libexec/PlistBuddy -c " print :JVMArguments" " ${InfoPlistFile} " 2> /dev/null | tr ' \n' ' ' | sed -E ' s/Array \{ *(.*) *\}/\1/g' | sed ' s/ */ /g' | xargs`
178-
177+ JVMArguments=` /usr/libexec/PlistBuddy -c " print :JVMArguments" " ${InfoPlistFile} " 2> /dev/null | tr -d ' \n' | sed -E ' s/Array \{ *(.*) *\}/\1/g' | sed ' s/ */ /g' | xargs`
179178fi
180179
181180
You can’t perform that action at this time.
0 commit comments