Don't overwrite user's .ssh/config file when bootstrapping
>From bash's manual page on redirecting with '>'
Redirection of output causes the file whose name results from the
expansion of word to be opened for writing on file descriptor n,
or the standard output (file descriptor 1) if n is not specified.
If the file does not exist it is created; if it does exist it is
truncated to zero size.
Change-Id: I0d1a56441fcb5a2a2aed043fc1ece866c5d8287a
Reviewed-on: http://gerrit.cloudera.org:8080/4967
Reviewed-by: Jim Apple <[email protected]>
Tested-by: Impala Public Jenkins
Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/76719de5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/76719de5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/76719de5
Branch: refs/heads/master
Commit: 76719de5d1d6a2609d7fd6bad05df79954d0fa56
Parents: 263f222
Author: Jim Apple <[email protected]>
Authored: Sat Nov 5 11:02:25 2016 -0700
Committer: Impala Public Jenkins <[email protected]>
Committed: Fri Nov 18 03:06:52 2016 +0000
----------------------------------------------------------------------
bin/bootstrap_development.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/76719de5/bin/bootstrap_development.sh
----------------------------------------------------------------------
diff --git a/bin/bootstrap_development.sh b/bin/bootstrap_development.sh
index b643368..f04a0b1 100755
--- a/bin/bootstrap_development.sh
+++ b/bin/bootstrap_development.sh
@@ -70,7 +70,7 @@ popd
# HDFS bug workaround
echo "127.0.0.1 $(hostname -s) $(hostname)" | sudo tee -a /etc/hosts
-echo "NoHostAuthenticationForLocalhost yes" > ~/.ssh/config
+echo "NoHostAuthenticationForLocalhost yes" >> ~/.ssh/config
pushd "$(dirname $0)/.."
export IMPALA_HOME="$(pwd)"