You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2017/12/17 16:49:21 UTC

[4/4] tinkerpop git commit: Regex wasn't matching 8182 explicitly

Regex wasn't matching 8182 explicitly

Prior to this change 58182 would match. CTR


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

Branch: refs/heads/master
Commit: 7b7e4fc2a3072ef286607ca560931da1440617ed
Parents: 2a15458
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Sun Dec 17 09:24:17 2017 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Sun Dec 17 09:24:17 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7b7e4fc2/docs/preprocessor/preprocess.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess.sh b/docs/preprocessor/preprocess.sh
index 3fafef0..47c52de 100755
--- a/docs/preprocessor/preprocess.sh
+++ b/docs/preprocessor/preprocess.sh
@@ -41,7 +41,7 @@ if [ "${DRYRUN_DOCS}" != "*" ]; then
     fi
   done
 
-  netstat -an | awk '{print $4}' | grep -o '[0-9]*$' | grep 8182 > /dev/null && {
+  netstat -an | awk '{print $4}' | grep -o '[0-9]*$' | grep ^8182 > /dev/null && {
     echo "The port 8182 is required for Gremlin Server, but already in use. Be sure to close the application that currently uses the port before processing the docs."
     exit 1
   }