1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-10-31 15:12:08 +00:00

additional quoting for CMD variables (#213)

This commit is contained in:
Thomas Wolff
2020-01-20 00:00:00 +01:00
parent 40fe1db02c
commit 2aace74c9d
3 changed files with 10 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ case "$installdir" in
"") custominst=false;;
esac
INSTDIR=${installdir:-$LOCALAPPDATA/wsltty}
INSTDIR="${installdir:-$LOCALAPPDATA/wsltty}"
INSTDIR=`cd "$INSTDIR"; pwd`
installdir=${installdir:-'%LOCALAPPDATA%\wsltty'}
@@ -15,7 +15,7 @@ case "$INSTDIR" in
*) TARGETPATH="$INSTDIR"/bin/mintty.exe;;
esac
CONFDIR=${configdir:-$APPDATA/wsltty}
CONFDIR="${configdir:-$APPDATA/wsltty}"
configdir=${configdir:-'%APPDATA%\wsltty'}
PATH=/bin:"$PATH":$SYSTEMROOT/System32