Code

Removed redundant check and make export LD_LIBRARY_PATH more sh friendly