You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2020/09/30 13:59:07 UTC
[camel-k] branch master updated: [fix] Use in-place editing
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 3a4f560 [fix] Use in-place editing
3a4f560 is described below
commit 3a4f560037325b93080ec631f7301a38c9359603
Author: Lukas Lowinger <ll...@redhat.com>
AuthorDate: Wed Sep 30 10:03:26 2020 +0200
[fix] Use in-place editing
---
e2e/yaks/monitoring/obtainToken.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/e2e/yaks/monitoring/obtainToken.sh b/e2e/yaks/monitoring/obtainToken.sh
index 74f7d90..86c81cd 100755
--- a/e2e/yaks/monitoring/obtainToken.sh
+++ b/e2e/yaks/monitoring/obtainToken.sh
@@ -4,4 +4,4 @@ SOURCE_DIR=$( dirname "${BASH_SOURCE[0]}")
TEST_FILE="${SOURCE_DIR}/metrics.feature"
TOKEN=`kubectl config view --minify --output 'jsonpath={..token}'`
-sed "s/TOKEN/${TOKEN}/g" "${TEST_FILE}"
\ No newline at end of file
+sed -i -e "s/TOKEN/${TOKEN}/g" "${TEST_FILE}"
\ No newline at end of file