Do not append empty ":" in LD_LIBRARY_PATH.
This commit is contained in:
parent
a8eb60e5ee
commit
ce8e6b2b51
|
@ -195,7 +195,11 @@ fi
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# Okay, set the paths and move on.
|
# Okay, set the paths and move on.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
if [ -n "$LD_LIBRARY_PATH" ]; then
|
||||||
export LD_LIBRARY_PATH=$WINELIB:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$WINELIB:$LD_LIBRARY_PATH
|
||||||
|
else
|
||||||
|
export LD_LIBRARY_PATH=$WINELIB
|
||||||
|
fi
|
||||||
export PATH=$WINEBIN:$PATH
|
export PATH=$WINEBIN:$PATH
|
||||||
export WINELOADER=$WINEBIN/$WINE_BIN_NAME
|
export WINELOADER=$WINEBIN/$WINE_BIN_NAME
|
||||||
export WINEDLLPATH
|
export WINEDLLPATH
|
||||||
|
|
Loading…
Reference in New Issue