Feature #2179

Replace values of environment variable instead of appending to ~/.bashrc

Added by Luca Frosini about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:Feb 09, 2016
Priority:NormalDue date:Feb 12, 2016
Assignee:Luca Frosini% Done:

100%

Category:distribution
Sprint:zz - Smartgears Improvements & Fixes
Milestones:
Duration: 4

Description

This is an example of environment variable added to ~/.bashrc from setup.sh of smartgears-distribution-bundle

export CATALINA_OPTS="-Xmx2000m -Xms2000m"
export GHN_HOME=/home/gcube/SmartGears-Bundle/SmartGears
export CATALINA_PID=/home/gcube/SmartGears-Bundle/tomcat.pid
export CATALINA_HOME=/home/gcube/SmartGears-Bundle/tomcat
export BUNDLE_HOME=/home/gcube/SmartGears-Bundle

Actually this are added at the end of ~/.bashrc and works well, but the file grow indefinitely, use a replace with sed instead.


Related issues

Related to gCube - Release #2186: org.gcube.distribution.smartgears-distribution-bundle.1-0... Released Feb 09, 2016

History

#1 Updated by Luca Frosini about 4 years ago

  • Status changed from New to In Progress

#2 Updated by Luca Frosini about 4 years ago

  • % Done changed from 0 to 100

#3 Updated by Luca Frosini about 4 years ago

  • Status changed from In Progress to Closed

#4 Updated by Luca Frosini about 4 years ago

  • Related to Release #2186: org.gcube.distribution.smartgears-distribution-bundle.1-0-6-1 added

Also available in: Atom PDF