diff options
author | Jernuh Zakalwe | 2018-11-18 14:59:18 +0100 |
---|---|---|
committer | Jernuh Zakalwe | 2018-11-18 14:59:18 +0100 |
commit | fd0355695a1405c91ce5cdaa59f6ef06cd6fa7de (patch) | |
tree | d4d4c6d1454c5496676f495f01e09302a789abfb /evewine | |
parent | 2e13f4bfb495889eae9d64ae26ac4df2ac651b24 (diff) | |
download | aur-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-- | evewine | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 "$@" |