title: shell script is unable to create workspace in eclipse che
body: <p>i have written a shell script to create a workspace in eclipse che. the script is generating the workspace url. but when i open it, workspace does not exit. Am i missing on something?</p>
  
  <pre><code>#!/bin/sh
  #=========================================================================
  
  repo_url=$1
  branch_name=$2
  ip_addr=$3
  #echo $repo_url
  #B="$(cut -d'/' -f4 &lt;&lt;&lt;$repourl)"
  temp_var="$(echo $repo_url | cut -d'/' -f5)"
  repo_name="$(echo $temp_var | cut -d '.' -f1)"
  
  #rm /opt/stackstorm/packs/jenkins/template/latest_template
  sudo cp /opt/stackstorm/packs/dev_prediction/actions/latest_template.sh /opt/stackstorm/packs/dev_prediction/template/
  #sed -i "s/repourl/$repo_url/g;s/branchname/$branch_name/g;s/reponame/$repo_name/g;s/ipaddr/$ip_addr/g" latest_template
  
  sudo sed -i "s@repourl@$repo_url@g;s@branchname@$branch_name@g;s@reponame@$repo_name@g;s@ipaddr@$ip_addr@g" /opt/stackstorm/packs/dev_prediction/template/latest_template.sh
  sudo chmod u+x /opt/stackstorm/packs/dev_prediction/template/latest_template.sh
  #cat /opt/stackstorm/packs/jenkins/template/latest_template
  sudo sh /opt/stackstorm/packs/dev_prediction/template/latest_template.sh &gt; /dev/null
  sudo rm /opt/stackstorm/packs/dev_prediction/template/latest_template.sh
  
  echo "http://$ip_addr/dashboard/#/ide/admin/$repo_name-$branch_name"
  </code></pre>
  
  <p>Expected and Actual URL: 
  "<a href="http://URL.ap-south-1.elb.amazonaws.com/dashboard/#/ide/admin/petclinic-new-AIAS-37" rel="nofollow noreferrer">http://URL.ap-south-1.elb.amazonaws.com/dashboard/#/ide/admin/petclinic-new-AIAS-37</a>"</p>