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 2015/06/05 22:18:00 UTC

[07/26] incubator-tinkerpop git commit: different syntax for and-conditions in if-statement (to make it work on OSX)

different syntax for and-conditions in if-statement (to make it work on OSX)


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

Branch: refs/heads/master
Commit: ab91eb293e779b743935fd8de95dda0e52344cd5
Parents: eb72528
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Sat May 30 01:05:43 2015 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Sat May 30 01:05:43 2015 +0200

----------------------------------------------------------------------
 docs/preprocessor/preprocess.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/ab91eb29/docs/preprocessor/preprocess.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess.sh b/docs/preprocessor/preprocess.sh
index ef2ef8f..c83f512 100755
--- a/docs/preprocessor/preprocess.sh
+++ b/docs/preprocessor/preprocess.sh
@@ -64,7 +64,7 @@ function cleanup() {
   find "${TP_HOME}/docs/src/" -name "*.asciidoc.groovy" | xargs rm -f
 }
 
-if [ ! -z "${hadoopPluginName}" -a ! -d "${hadoopPluginDirectory}" -a ${match} -eq 0 ]; then
+if [ ! -z "${hadoopPluginName}" ] && [ ! -d "${hadoopPluginDirectory}" ] && [ ${match} -eq 0 ]; then
   rmHadoopPlugin=1
   echo -e "\n${hadoopPluginClass}" >> "${PLUGIN_DIR}/plugins.txt"
   mkdir -p "${PLUGIN_DIR}/${hadoopPluginName}/"{lib,plugin}