Changeset 88 for trunk/environment.sh
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/environment.sh
r82 r88 26 26 # Export environement 27 27 export MORPHEO_TOPLEVEL=${PWD} 28 #export MORPHEO_PLATFORMS=${MORPHEO_TOPLEVEL}/Platforms29 #export MORPHEO_SOFTWARE=${MORPHEO_TOPLEVEL}/Softwares30 #export MORPHEO_IPS=${MORPHEO_TOPLEVEL}/IPs/systemC31 28 export MORPHEO_SCRIPT=${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Script 32 export MORPHEO_HOME=${HOME}/.morpheo 29 export MORPHEO_HOME=${HOME}/.Morpheo 30 export MORPHEO_TMP=/tmp/Morpheo 31 MORPHEO_XTTY=${MORPHEO_TOPLEVEL}/IPs/systemC/Environment/TTY/xtty 33 32 34 33 echo "" 35 echo "OS found : $ OS_FOUND"34 echo "OS found : ${OS_FOUND}" 36 35 echo "" 37 echo "Modification of environement's variable : " 38 echo " - MORPHEO_TOPLEVEL is set to ${MORPHEO_TOPLEVEL} " 39 #echo " - MORPHEO_PLATFORMS is set to ${MORPHEO_PLATFORMS}" 40 #echo " - MORPHEO_SOFTWARE is set to ${MORPHEO_SOFTWARE} " 41 #echo " - MORPHEO_IPS is set to ${MORPHEO_IPS} " 42 echo " - MORPHEO_SCRIPT is set to ${MORPHEO_SCRIPT} " 43 echo " - MORPHEO_HOME is set to ${MORPHEO_HOME} " 36 echo "Modification of environement's variable :" 37 echo " - MORPHEO_TOPLEVEL is set to ${MORPHEO_TOPLEVEL}" 38 echo " - MORPHEO_SCRIPT is set to ${MORPHEO_SCRIPT}" 39 echo " - MORPHEO_HOME is set to ${MORPHEO_HOME}" 40 echo " - MORPHEO_TMP is set to ${MORPHEO_TMP}" 44 41 42 #---------- 43 # Path : add xtty and script directory. 44 # test if already in path : no multiple addition 45 #---------- 45 46 46 # PATH : No multiple add47 47 echo ${PATH} |grep -q ${MORPHEO_SCRIPT}; 48 49 48 if test $? -eq 1; then 50 49 export PATH=${PATH}:${MORPHEO_SCRIPT} 51 echo " - PATH add ${MORPHEO_SCRIPT}"50 echo " - PATH add ${MORPHEO_SCRIPT}" 52 51 fi; 53 54 MORPHEO_XTTY=${MORPHEO_TOPLEVEL}/IPs/systemC/Environment/TTY/xtty55 52 56 53 echo ${PATH} |grep -q ${MORPHEO_XTTY}; … … 58 55 if test $? -eq 1; then 59 56 export PATH=${PATH}:${MORPHEO_XTTY} 60 echo " - PATH add ${MORPHEO_XTTY} " 61 fi; 62 63 64 # test if "first run" 65 if test ! -d ${MORPHEO_HOME}; then 66 echo " - MORPHEO_HOME don't exist : first run " 67 . ${MORPHEO_SCRIPT}/first_run.sh 57 echo " - PATH add ${MORPHEO_XTTY}" 68 58 fi; 69 59
Note: See TracChangeset
for help on using the changeset viewer.