commtechs: Replace the test by a nicer shell trick
This commit is contained in:
parent
33614392cd
commit
a9c71bf5d8
|
@ -26,12 +26,7 @@ logFileName="\$perfDirName/cache_\$typeCache-nbProd_\$nbProd-typeProd_\$typeProd
|
||||||
expDirName="logs"
|
expDirName="logs"
|
||||||
perfDirName="$expDirName/perfCommMulti-`date +'%F-%Hh%Mm%S'`"
|
perfDirName="$expDirName/perfCommMulti-`date +'%F-%Hh%Mm%S'`"
|
||||||
|
|
||||||
if [ -n "${LD_LIBRARY_PATH:-}" ] # If LD_LIBRARY_PATH is unbound then the expansion is "null" value
|
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}${LD_LIBRARY_PATH:+:}${PHLDir}/${PHLLibDir}:${PAPIDir}/${PAPILibDir}:${PAPIDir}/${PAPILibDir}/${PAPIPFMDir}"
|
||||||
then
|
|
||||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${PHLDir}/${PHLLibDir}:${PAPIDir}/${PAPILibDir}:${PAPIDir}/${PAPILibDir}/${PAPIPFMDir}"
|
|
||||||
else
|
|
||||||
LD_LIBRARY_PATH="${PHLDir}/${PHLLibDir}:${PAPIDir}/${PAPILibDir}:${PAPIDir}/${PAPILibDir}/${PAPIPFMDir}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
PAPILibPresent=""
|
PAPILibPresent=""
|
||||||
PFMLibPresent=""
|
PFMLibPresent=""
|
||||||
|
|
Loading…
Reference in New Issue