You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2016/03/24 21:10:41 UTC

incubator-tinkerpop git commit: initialize JAVA_OPTIONS if it's not already set

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1109 7d3731b25 -> 2749d8d88


initialize JAVA_OPTIONS if it's not already set


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/2749d8d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/2749d8d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/2749d8d8

Branch: refs/heads/TINKERPOP-1109
Commit: 2749d8d885f8aec60466ba7411e7dd13e155f62d
Parents: 7d3731b
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Thu Mar 24 21:10:11 2016 +0100
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Thu Mar 24 21:10:11 2016 +0100

----------------------------------------------------------------------
 gremlin-console/src/main/bin/gremlin.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/2749d8d8/gremlin-console/src/main/bin/gremlin.sh
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/bin/gremlin.sh b/gremlin-console/src/main/bin/gremlin.sh
index 215e69f..f6e8051 100755
--- a/gremlin-console/src/main/bin/gremlin.sh
+++ b/gremlin-console/src/main/bin/gremlin.sh
@@ -24,6 +24,7 @@ set -u
 
 DIR="$( cd -P "$( dirname "$0" )" && pwd )"
 SYSTEM_EXT_DIR="${DIR}/../ext"
+JAVA_OPTIONS=${JAVA_OPTIONS:-}
 
 if [ ! -z "${JAVA_OPTIONS}" ]; then
   USER_EXT_DIR=$(grep -o '\-Dtinkerpop.ext=\(\([^"][^ ]*\)\|\("[^"]*"\)\)' <<< "${JAVA_OPTIONS}" | cut -f2 -d '=' | xargs -0 echo)