You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/10/20 16:58:36 UTC
[2/4] incubator-tinkerpop git commit: plugins.txt does not exist in
the Gremlin Server distribution, hence don't check
plugins.txt does not exist in the Gremlin Server distribution, hence don't check
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/e16087d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/e16087d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/e16087d8
Branch: refs/heads/TINKERPOP3-863
Commit: e16087d82c932574306ab1d7c450aad8e0a04fd3
Parents: 0141f50
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Tue Oct 20 13:49:55 2015 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Tue Oct 20 13:49:55 2015 +0200
----------------------------------------------------------------------
bin/validate-distribution.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/e16087d8/bin/validate-distribution.sh
----------------------------------------------------------------------
diff --git a/bin/validate-distribution.sh b/bin/validate-distribution.sh
index dcdb570..16de126 100755
--- a/bin/validate-distribution.sh
+++ b/bin/validate-distribution.sh
@@ -142,7 +142,7 @@ done
echo -n "* validating ${COMPONENT}'s plugin directory ... "
[ -d "ext" ] || { echo "ext/ directory is not present"; exit 1; }
if [ "${TYPE}" = "CONSOLE" ] || [[ `tr -d '.' <<< ${VERSION} | sed -e 's/-.*//'` -gt 301 ]]; then
- [ -d "ext/gremlin-groovy" ] && [ -d "ext/tinkergraph-gremlin" ] && [ -s "ext/plugins.txt" ] || { echo "ext/ directory is not present or incomplete"; exit 1; }
+ [ -d "ext/gremlin-groovy" ] && [ -d "ext/tinkergraph-gremlin" ] && ([ "${TYPE}" = "SERVER" ] || [ -s "ext/plugins.txt" ]) || { echo "ext/ directory is not present or incomplete"; exit 1; }
fi
echo "OK"