File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5082,7 +5082,7 @@ winetricks_set_wineprefix()
5082
5082
if test -d "${W_DRIVE_C}/windows/syswow64"; then
5083
5083
# Check the bitness of wineserver + wine binary, used later to determine if we're on a WOW setup (no wine64)
5084
5084
# https://github.com/Winetricks/winetricks/issues/2030
5085
- WINESERVER_BIN="$(which "${WINESERVER}")"
5085
+ WINESERVER_BIN="$(command -v "${WINESERVER}")"
5086
5086
5087
5087
# wineboot often is a link pointing to wineapploader in Wine's bindir. If we don't find binaries we may look for them there later
5088
5088
if [ -n "${READLINK_F}" ]; then
@@ -5116,7 +5116,7 @@ winetricks_set_wineprefix()
5116
5116
w_warn "Unknown file arch of ${WINESERVER_BIN}."
5117
5117
fi
5118
5118
5119
- WINE_BIN="$(which "${WINE}")"
5119
+ WINE_BIN="$(command -v "${WINE}")"
5120
5120
_W_wine_binary_arch="$(winetricks_get_file_arch "${WINE_BIN}")"
5121
5121
if [ -z "${_W_wine_binary_arch}" ]; then
5122
5122
# wine might be a script calling a binary in Wine's bindir.
You can’t perform that action at this time.
0 commit comments