jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject [1/2] jena git commit: fixing symlink behavior for Mac OS X
Date Tue, 04 Apr 2017 19:34:09 GMT
Repository: jena
Updated Branches:
  refs/heads/master 711e9be83 -> 9228d6247


fixing symlink behavior for Mac OS X


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/56457e00
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/56457e00
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/56457e00

Branch: refs/heads/master
Commit: 56457e0027b003b4d2d0cfd29db48afd0b6783b1
Parents: 3981cd6
Author: ajs6f <ajs6f@virginia.edu>
Authored: Tue Apr 4 09:30:22 2017 -0400
Committer: ajs6f <ajs6f@virginia.edu>
Committed: Tue Apr 4 09:30:22 2017 -0400

----------------------------------------------------------------------
 apache-jena/bin/sparql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/56457e00/apache-jena/bin/sparql
----------------------------------------------------------------------
diff --git a/apache-jena/bin/sparql b/apache-jena/bin/sparql
index ccec071..8f1e1b2 100755
--- a/apache-jena/bin/sparql
+++ b/apache-jena/bin/sparql
@@ -10,7 +10,7 @@ resolveLink() {
         # BSD style readlink behaves differently to GNU readlink
         # Have to manually follow links
         while [ -L "$NAME" ]; do
-          NAME=$(readlink "$NAME")
+          NAME=$( cd $NAME && pwd -P ) ;
         done
         ;;
       *)


Mime
View raw message