Skip to content

Commit

Permalink
[NETBEANS-4367] Fix the platform application launcher script (for Mac…
Browse files Browse the repository at this point in the history
…OS/Linux) to properly take default_cachedir setting into account
  • Loading branch information
eirikbakke authored and lkishalmi committed Jun 16, 2020
1 parent cf0ae24 commit 7d4dca6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions harness/apisupport.harness/release/launchers/app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ while [ $# -gt 0 ] ; do
shift
done

cachedir="${default_cachedir}"

if [ -f "${userdir}/etc/$APPNAME".conf ] ; then
. "${userdir}/etc/$APPNAME".conf
fi
Expand Down Expand Up @@ -125,6 +127,7 @@ case "`uname`" in
'"-J-Xdock:icon=$progdir/../../$APPNAME.icns"' \
--clusters '"$clusters"' \
--userdir '"${userdir}"' \
--cachedir '"${cachedir}"' \
${default_options} \
"$args"
;;
Expand All @@ -139,6 +142,7 @@ case "`uname`" in
--jdkhome '"$jdkhome"' \
--clusters '"$clusters"' \
--userdir '"${userdir}"' \
--cachedir '"${cachedir}"' \
${default_options} \
"$args"
exit 1
Expand Down

0 comments on commit 7d4dca6

Please sign in to comment.