kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject [kudu] 03/04: [docs] Fix quickstart IP one liner
Date Fri, 12 Jul 2019 18:59:16 GMT
This is an automated email from the ASF dual-hosted git repository.

granthenke pushed a commit to branch branch-1.10.x
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit eb4e1f8de8df5bf1aecb3b2767fe87bfdb8534ea
Author: Grant Henke <granthenke@apache.org>
AuthorDate: Thu Jul 11 16:16:29 2019 -0500

    [docs] Fix quickstart IP one liner
    
    It was reported that on Linux an extra whitespace could
    be included breaking the one liner. This uses `awk` instead
    so exact spaces don't matter.
    
    Change-Id: Ie401578da12157b802752ff62885c4b4dc6b3a29
    Reviewed-on: http://gerrit.cloudera.org:8080/13848
    Tested-by: Grant Henke <granthenke@apache.org>
    Reviewed-by: Andrew Wong <awong@cloudera.com>
    (cherry picked from commit c1d16856bd4b3bb4b6242fa098d600b6ef321e6a)
    Reviewed-on: http://gerrit.cloudera.org:8080/13853
---
 docs/quickstart.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/quickstart.adoc b/docs/quickstart.adoc
index 9ccaafd..3f775a8 100644
--- a/docs/quickstart.adoc
+++ b/docs/quickstart.adoc
@@ -60,7 +60,7 @@ Set the `KUDU_QUICKSTART_IP` environment variable to your ip address:
 
 [source,bash]
 ----
-$ export KUDU_QUICKSTART_IP=$(ifconfig | grep "inet " | grep -Fv 127.0.0.1 | cut -d" " -f2
| tail -1)
+$ export KUDU_QUICKSTART_IP=$(ifconfig | grep "inet " | grep -Fv 127.0.0.1 |  awk '{print
$2}' | tail -1)
 ----
 
 === Bring up the Cluster


Mime
View raw message