Skip to content

Commit

Permalink
Added logic to see if LD_LIBRARY_PATH environment variable exists or not
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanycmeyer13 committed Jul 12, 2021
1 parent 716de34 commit 2c8f592
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rpms/awips2.upc/Installer.awips/scripts/profile.d/awips2.csh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
setenv PATH /awips2/edex/bin:$PATH
if ( ${USER} == "root" ) then
alias ldmadmin service edex_ldm
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/lib64
if $?LD_LIBRARY_PATH then
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/lib64
else
setenv LD_LIBRARY_PATH /usr/lib64
endif
exit 1
endif
alias cave /awips2/cave/run.sh
Expand Down

0 comments on commit 2c8f592

Please sign in to comment.