[hg] main-silver: #208749 - Module system caches use absolute paths

  • From: Jiri Rechtacek < >
  • To:
  • Subject: [hg] main-silver: #208749 - Module system caches use absolute paths
  • Date: Wed, 17 Apr 2013 00:44:14 -0700

changeset 0a3aa741beb4 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/0a3aa741beb4
description:
        #208749 - Module system caches use absolute paths

diffstat:

 apisupport.harness/release/launchers/app.sh |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (22 lines):

diff --git a/apisupport.harness/release/launchers/app.sh 
b/apisupport.harness/release/launchers/app.sh
--- a/apisupport.harness/release/launchers/app.sh
+++ b/apisupport.harness/release/launchers/app.sh
@@ -66,7 +66,17 @@
   done
 }
 
-clusters=`(cat "$progdir/../etc/$APPNAME".clusters; echo) | readClusters | 
tr '\012' ':'`
+absolutize_paths() {
+    while read path; do
+        if [ -d "$path" ]; then
+            (cd "$path" 2>/dev/null && pwd)
+        else
+            echo "$path"
+        fi
+    done
+}
+
+clusters=`(cat "$progdir/../etc/$APPNAME".clusters; echo) | readClusters | 
absolutize_paths | tr '\012' ':'`
 
 if [ ! -z "$extra_clusters" ] ; then
     clusters="$clusters:$extra_clusters"

[hg] main-silver: #208749 - Module system caches use absolute paths

Jiri Rechtacek 04/17/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 43 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close