aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2018-05-17 10:11:56 +0000
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2018-05-17 10:12:02 +0000
commitaa44a90f499ececb3ccc594ba5a730771f885c50 (patch)
tree871b150efde47144e2d56797ffb192f222ff39e5
parentc2d068d4b7b28cb6f4f52f30a4973f025f35f781 (diff)
Replace multiple echos with cat.
Change-Id: I5779388836159ec90e68ac0caefcfd23ca6e3811
-rwxr-xr-xtcwg-base/tcwg-dev/start.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/tcwg-base/tcwg-dev/start.sh b/tcwg-base/tcwg-dev/start.sh
index 4eb721dc..b06c8bba 100755
--- a/tcwg-base/tcwg-dev/start.sh
+++ b/tcwg-base/tcwg-dev/start.sh
@@ -116,9 +116,11 @@ $DOCKER run --name=$name -dt -p 22 $mounts --memory=$memlimit --pids-limit=5000
port=$($DOCKER port $name 22 | cut -d: -f 2)
set +x
-echo "NOTE: the warning about kernel not supporting swap memory limit is expected"
-echo "To connect to container run \"ssh -p $port localhost\""
-echo "To stop container run \"docker stop $name\""
-echo "To restart container run \"docker start $name\""
-echo "To remove container run \"docker rm -fv $name\""
-echo "See https://collaborate.linaro.org/display/TCWG/How+to+setup+personal+dev+environment+using+docker for additional info"
+cat <<EOF
+NOTE: the warning about kernel not supporting swap memory limit is expected
+To connect to container run "ssh -p $port localhost"
+To stop container run "docker stop $name"
+To restart container run "docker start $name"
+To remove container run "docker rm -fv $name"
+See https://collaborate.linaro.org/display/TCWG/How+to+setup+personal+dev+environment+using+docker for additional info
+EOF