You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2015/07/07 14:53:11 UTC
[12/18] jena git commit: Minor clean up of OS type testing (JENA-977)
Minor clean up of OS type testing (JENA-977)
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/c25ad5d8
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/c25ad5d8
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/c25ad5d8
Branch: refs/heads/master
Commit: c25ad5d800779ca829a7bde581f98d62c417719b
Parents: d9ff26e
Author: Rob Vesse <rv...@apache.org>
Authored: Tue Jun 30 16:04:42 2015 +0100
Committer: Rob Vesse <rv...@apache.org>
Committed: Tue Jun 30 16:04:42 2015 +0100
----------------------------------------------------------------------
apache-jena/bin/tdbloader2 | 2 +-
apache-jena/bin/tdbloader2common | 4 ++--
apache-jena/bin/tdbloader2data | 2 +-
apache-jena/bin/tdbloader2index | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/c25ad5d8/apache-jena/bin/tdbloader2
----------------------------------------------------------------------
diff --git a/apache-jena/bin/tdbloader2 b/apache-jena/bin/tdbloader2
index d8b375c..12168fa 100755
--- a/apache-jena/bin/tdbloader2
+++ b/apache-jena/bin/tdbloader2
@@ -103,7 +103,7 @@ function resolveLink() {
if [ -L "$NAME" ]; then
case "$OSTYPE" in
- darwin*|*BSB*|*BSD|BSD*)
+ darwin*|bsd*)
# BSD style readlink behaves differently to GNU readlink
# Have to manually follow links
while [ -L "$NAME" ]; do
http://git-wip-us.apache.org/repos/asf/jena/blob/c25ad5d8/apache-jena/bin/tdbloader2common
----------------------------------------------------------------------
diff --git a/apache-jena/bin/tdbloader2common b/apache-jena/bin/tdbloader2common
index 2c116ad..2c73f7f 100644
--- a/apache-jena/bin/tdbloader2common
+++ b/apache-jena/bin/tdbloader2common
@@ -112,7 +112,7 @@ function resolveLink() {
if [ -L "$NAME" ]; then
case "$OSTYPE" in
- darwin*|*BSB*|*BSD|BSD*)
+ darwin*|bsd*)
# BSD style readlink behaves differently to GNU readlink
# Have to manually follow links
while [ -L "$NAME" ]; do
@@ -165,7 +165,7 @@ function makeAbsolute() {
if [[ "$NAME" != "/"* ]]; then
# Now make absolute
case "$OSTYPE" in
- darwin*|*BSB*|*BSD|BSD*)
+ darwin*|bsd*)
# BSD style readlink does not support the -f for canonicalization
# so have to do this via cd, pwd and basename
local FILENAME=$(basename "$NAME")
http://git-wip-us.apache.org/repos/asf/jena/blob/c25ad5d8/apache-jena/bin/tdbloader2data
----------------------------------------------------------------------
diff --git a/apache-jena/bin/tdbloader2data b/apache-jena/bin/tdbloader2data
index 2f8ffa7..d0ca066 100755
--- a/apache-jena/bin/tdbloader2data
+++ b/apache-jena/bin/tdbloader2data
@@ -23,7 +23,7 @@ function resolveLink() {
if [ -L "$NAME" ]; then
case "$OSTYPE" in
- darwin*|*BSB*|*BSD|BSD*)
+ darwin*|bsd*)
# BSD style readlink behaves differently to GNU readlink
# Have to manually follow links
while [ -L "$NAME" ]; do
http://git-wip-us.apache.org/repos/asf/jena/blob/c25ad5d8/apache-jena/bin/tdbloader2index
----------------------------------------------------------------------
diff --git a/apache-jena/bin/tdbloader2index b/apache-jena/bin/tdbloader2index
index 78f82b5..4d50f93 100755
--- a/apache-jena/bin/tdbloader2index
+++ b/apache-jena/bin/tdbloader2index
@@ -23,7 +23,7 @@ function resolveLink() {
if [ -L "$NAME" ]; then
case "$OSTYPE" in
- darwin*|*BSB*|*BSD|BSD*)
+ darwin*|bsd*)
# BSD style readlink behaves differently to GNU readlink
# Have to manually follow links
while [ -L "$NAME" ]; do