Commit ce8e6b2b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Do not append empty ":" in LD_LIBRARY_PATH.

parent a8eb60e5
......@@ -195,7 +195,11 @@ fi
#------------------------------------------------------------------------------
# Okay, set the paths and move on.
#------------------------------------------------------------------------------
export LD_LIBRARY_PATH=$WINELIB:$LD_LIBRARY_PATH
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment