Do not append empty ":" in LD_LIBRARY_PATH.

This commit is contained in:
Marcus Meissner 2005-10-03 10:14:47 +00:00 committed by Alexandre Julliard
parent a8eb60e5ee
commit ce8e6b2b51
1 changed files with 5 additions and 1 deletions

View File

@ -195,7 +195,11 @@ fi
#------------------------------------------------------------------------------
# Okay, set the paths and move on.
#------------------------------------------------------------------------------
if [ -n "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH=$WINELIB:$LD_LIBRARY_PATH
else
export LD_LIBRARY_PATH=$WINELIB
fi
export PATH=$WINEBIN:$PATH
export WINELOADER=$WINEBIN/$WINE_BIN_NAME
export WINEDLLPATH