summarylogtreecommitdiffstats
path: root/evewine
diff options
context:
space:
mode:
authorJernuh Zakalwe2018-11-18 14:59:18 +0100
committerJernuh Zakalwe2018-11-18 14:59:18 +0100
commitfd0355695a1405c91ce5cdaa59f6ef06cd6fa7de (patch)
treed4d4c6d1454c5496676f495f01e09302a789abfb /evewine
parent2e13f4bfb495889eae9d64ae26ac4df2ac651b24 (diff)
downloadaur-fd0355695a1405c91ce5cdaa59f6ef06cd6fa7de.tar.gz
Handling from whitespaces in $WINEPATH removed, it causes to many side effects,
no more whitespaces in absolute paths allowed. Wrong second declaration from $WINEPATH in wine check routine fixed.
Diffstat (limited to 'evewine')
-rw-r--r--evewine8
1 files changed, 4 insertions, 4 deletions
diff --git a/evewine b/evewine
index 470c1ad86797..77b47f06580a 100644
--- a/evewine
+++ b/evewine
@@ -4,7 +4,7 @@ EVECONF=$HOME/.config/CCP/EVE.conf
UCW=$(grep UseCustomWine $EVECONF | cut -d= -f2)
if [ "x$UCW" = "xtrue" ] ;then
CUSTOMWP=$(grep CustomWinePath $EVECONF | cut -d= -f2)
- WINEPATH="${CUSTOMWP%/*}"
+ WINEPATH=${CUSTOMWP%/*}
SHAREDIR=$(grep SharedCacheFolder $EVECONF | cut -d= -f2)
WINEPREFIX=${SHAREDIR}wineenv
else
@@ -18,12 +18,12 @@ if [ ! -x "$WINEPATH/wine" ] ;then
fi
if [ -x "$WINEPATH/${0#*eve}" ] ;then
- WINECMD="$WINEPATH/${0#*eve}"
+ WINECMD=$WINEPATH/${0#*eve}
else
- WINECMD="$CUSTOMWP ${0#*eve}"
+ WINECMD=$CUSTOMWP\ ${0#*eve}
fi
env WINEPREFIX=$WINEPREFIX \
WINEDEBUG=-all \
WINEDLLOVERRIDES="mscoree,mshtml,winemenubuilder.exe=d" \
- "$WINECMD" "$@"
+ $WINECMD "$@"