jtulach commented on code in PR #8756:
URL: https://github.com/apache/netbeans/pull/8756#discussion_r2295517191
##########
nb/ide.launcher/unix/netbeans:
##########
@@ -66,7 +69,11 @@ fi
export DEFAULT_USERDIR_ROOT
# #68373: look for userdir, but do not modify "$@"
-userdir="${netbeans_default_userdir}"
+if [ -z "$NETBEANS_USERDIR" ]; then
Review Comment:
- use environment value, if defined as `--userdir` default
- if one specifies `--userdir` CLI argument explicitly it takes precedence
- otherwise the userdir (if specified) is inherited from parent process
- that way just typing `netbeans` in integrated terminal talks to itself via
`CLIHandler`' using the same user dir
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists