summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-10-25 15:30:25 +0200
committerTor Lillqvist <tml@collabora.com>2020-10-25 19:57:36 +0100
commit17d48cd63a19adf41d1355f74468a621e5c6f108 (patch)
tree4c627c0ef6e26f5e933842abec5fb59176678b09
parent7030cd05de6444b19baedf1215b25c6202f5478c (diff)
Must use the Unix form of a pathname in a test command on WSL
Change-Id: Ib785ba0b22a555136a64c97c50aa2c17a75f6c03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104774 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9b2f66ec437d..47b9330f5738 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3942,7 +3942,8 @@ if test "$_os" = "WINNT"; then
# Find the version of devenv.exe
# MSVC 2017 devenv does not start properly from a DOS 8.3 path
DEVENV=$(cygpath -lm "$VC_PRODUCT_DIR/../Common7/IDE/devenv.exe")
- if test ! -e "$DEVENV"; then
+ DEVENV_unix=$(cygpath -u "$DEVENV")
+ if test ! -e "$DEVENV_unix"; then
AC_MSG_WARN([No devenv.exe found - this is expected for VC++ Build Tools])
fi