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 268573
Collapse All | Expand All

(-)netbeans (-1 / +6 lines)
Lines 74-80 Link Here
74
    *) 
74
    *) 
75
        # set default userdir and cachedir on unix systems
75
        # set default userdir and cachedir on unix systems
76
        DEFAULT_USERDIR_ROOT=${HOME}/.netbeans
76
        DEFAULT_USERDIR_ROOT=${HOME}/.netbeans
77
        DEFAULT_CACHEDIR_ROOT=${HOME}/.cache/netbeans
77
        # use XGD if set
78
        DEFAULT_CACHEDIR_ROOT=${HOME}
79
        if [ -n ${XDG_CACHE_HOME} ] ; then
80
           DEFAULT_CACHEDIR_ROOT=${XDG_CACHE_HOME}
81
        fi
82
        DEFAULT_CACHEDIR_ROOT=${DEFAULT_CACHEDIR_ROOT}/.cache/netbeans
78
        ;;
83
        ;;
79
esac
84
esac
80
85

Return to bug 268573