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.
done
progdir=`dirname "$PRG"`
cd "$progdir"/..
basedir=`pwd`
cd -
case "`uname`" in
Darwin*)
fi
readClusters() {
grep -v "^#" "$progdir"/../etc/netbeans.clusters | grep -v "^$" | grep -v platform | while read X; do
grep -v "^#" "$progdir"/../etc/netbeans.clusters | grep -v "^$" | while read X; do
if expr "$X" : "/.*" >/dev/null; then
echo "$basedir/$X"
echo "$X"
else
echo "$progdir/../$X"
}
absolutize_paths() {
netbeans_clusters=`readClusters | tr '\012' ':'`
while read path; do
if [ -d "$path" ]; then
(cd "$path" 2>/dev/null && pwd)
echo "$path"
netbeans_clusters=`readClusters | absolutize_paths | tr '\012' ':'`
if [ ! -z "$netbeans_extraclusters" ] ; then
netbeans_clusters="$netbeans_clusters:$netbeans_extraclusters"