You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/07/23 17:11:46 UTC
jena git commit: Remove link resolving debug echo commands
Repository: jena
Updated Branches:
refs/heads/master 23feb82a3 -> 668deecba
Remove link resolving debug echo commands
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/668deecb
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/668deecb
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/668deecb
Branch: refs/heads/master
Commit: 668deecbabbfe5a0ae22174c4009128907ce210d
Parents: 23feb82
Author: Andy Seaborne <an...@apache.org>
Authored: Thu Jul 23 16:11:32 2015 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Thu Jul 23 16:11:32 2015 +0100
----------------------------------------------------------------------
apache-jena/bin/tdbloader2 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/668deecb/apache-jena/bin/tdbloader2
----------------------------------------------------------------------
diff --git a/apache-jena/bin/tdbloader2 b/apache-jena/bin/tdbloader2
index 482115b..530aca8 100755
--- a/apache-jena/bin/tdbloader2
+++ b/apache-jena/bin/tdbloader2
@@ -124,7 +124,6 @@ function resolveLink() {
# If JENA_HOME is empty
if [ -z "$JENA_HOME" ]; then
- echo "JENA_HOME not set, attempting to locate JENA_HOME automatically"
SCRIPT="$0"
# Catch common issue: script has been symlinked
if [ -L "$SCRIPT" ]; then
@@ -144,8 +143,8 @@ if [ -z "$JENA_HOME" ]; then
# Work out root from script location
JENA_HOME="$( cd "$( dirname "$SCRIPT" )/.." && pwd )"
export JENA_HOME
- echo "Located JENA_HOME at ${JENA_HOME}"
fi
+
# If JENA_HOME is a symbolic link need to resolve
if [ -L "${JENA_HOME}" ]; then
JENA_HOME=$(resolveLink "$JENA_HOME")