[ 
https://issues.apache.org/jira/browse/TRAFODION-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339782#comment-16339782
 ] 

ASF GitHub Bot commented on TRAFODION-2802:
-------------------------------------------

Github user zellerh commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1413#discussion_r163951143
  
    --- Diff: install/traf_checkset_env.sh ---
    @@ -244,11 +244,14 @@ if [ ! -d ${javapath} ]; then
          exit 1
     fi
     
    +source $HOME/.bashrc
     javahome=`grep JAVA_HOME ~/.bashrc | wc -l`
     if [ "x${javahome}" = "x0" ]; then
         echo -en "\n# Added by traf_checkset_env.sh of trafodion\n" >> 
$HOME/.bashrc
         echo -en "export JAVA_HOME=${javapath}\n" >> $HOME/.bashrc
         echo -en "export PATH=\$PATH:\$JAVA_HOME/bin\n" >> $HOME/.bashrc
    --- End diff --
    
    See comment above. Writing into the user's .bashrc is probably not a very 
good idea. You can create a file ~/.trafodion instead.


> Prepare the build environment with one command
> ----------------------------------------------
>
>                 Key: TRAFODION-2802
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2802
>             Project: Apache Trafodion
>          Issue Type: New Feature
>          Components: Build Infrastructure
>    Affects Versions: any
>         Environment: Red Hat and CentOS first
>            Reporter: xiaozhong.wang
>            Priority: Major
>             Fix For: any
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Newbie cann't create build environment without a hitch.
> Although has a script traf_tools_setup.sh, there are a lot of process needed 
> to prepare before that.
> Give a script that can create build environment by one command, it's very 
> useful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to