This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 75717
Collapse All | Expand All

(-)nbexec (-3 / +3 lines)
Lines 201-207 Link Here
201
    # attempt to delete a leftover from crashed instance which happened to have the
201
    # attempt to delete a leftover from crashed instance which happened to have the
202
    # same PID
202
    # same PID
203
203
204
    rm -f ${nbenvfile}
204
    rm -f "${nbenvfile}"
205
205
206
    # if ${nbenvfile} already exists there is a possibility that it is a leftover
206
    # if ${nbenvfile} already exists there is a possibility that it is a leftover
207
    # after another instance of this script crashed and the owner of the file can
207
    # after another instance of this script crashed and the owner of the file can
Lines 210-216 Link Here
210
210
211
    while [ -f "$nbenvfile" ]
211
    while [ -f "$nbenvfile" ]
212
    do
212
    do
213
        nbenvfile=${nbenvfile}X
213
        nbenvfile="${nbenvfile}X"
214
    done
214
    done
215
215
216
    # #30621: handle embedded newlines in values, if possible.
216
    # #30621: handle embedded newlines in values, if possible.
Lines 402-408 Link Here
402
    #
402
    #
403
403
404
    eval ${_NB_PROFILE_CMD} "\"${jdkhome}/bin/java\"" -Djdk.home="\"${jdkhome}\"" -classpath "\"$cp\"" \
404
    eval ${_NB_PROFILE_CMD} "\"${jdkhome}/bin/java\"" -Djdk.home="\"${jdkhome}\"" -classpath "\"$cp\"" \
405
        -Dnetbeans.osenv="${nbenvfile}" -Dnetbeans.osenv.nullsep=${nbenvnullsep} \
405
        -Dnetbeans.osenv="\"${nbenvfile}\"" -Dnetbeans.osenv.nullsep=${nbenvnullsep} \
406
        $jargs org.netbeans.Main $args
406
        $jargs org.netbeans.Main $args
407
    exitcode=$?
407
    exitcode=$?
408
408

Return to bug 75717