Epics@GSI Webhome

EPICS Installation @ GSI: global Environment Variables During Setup Check - Just the code

# Check installation environment variables

echo -n <All Epics' Top Directory> "%EPICS_ALL_EPICS_TOP_DIR_NAME%: "
$( [[ -v ${%EPICS_ALL_EPICS_TOP_DIR_NAME%} ]] && set to $(eval echo \${%EPICS_ALL_EPICS_TOP_DIR_NAME%} ) || eval echo \${$item?} 2>&1 | cut -d ":" -f 3- ;
echo -n <EPICS Home Directory> "%EPICS_HOME_DIR_NAME%: "
$( [[ -v ${%EPICS_HOME_DIR_NAME%} ]] && set to $(eval echo \${%EPICS_HOME_DIR_NAME%} ) || eval echo \${$item?} 2>&1 | cut -d ":" -f 3- ;
echo -n <Download Directory> "%EPICS_DOWNLOAD_DIR_NAME%: "
$( [[ -v ${%EPICS_DOWNLOAD_DIR_NAME%} ]] && set to $(eval echo \${%EPICS_DOWNLOAD_DIR_NAME%} ) || eval echo \${$item?} 2>&1 | cut -d ":" -f 3- ;
echo -n <EPICS Version> "%EPICS_VERSION_NAME%: "
$( [[ -v ${%EPICS_VERSION_NAME%} ]] && set to $(eval echo \${%EPICS_VERSION_NAME%} ) || eval echo \${$item?} 2>&1 | cut -d ":" -f 3- ;

-- PeterZumbruch - 2017-07-17
Edit | Attach | Print version |  PDF | History: r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r1 - 2017-07-17, PeterZumbruch
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)