From f12a4eb29f2084968631c739a7bcd0c705178053 Mon Sep 17 00:00:00 2001 From: Krystian Panek Date: Thu, 14 Dec 2023 14:17:02 +0100 Subject: [PATCH] Do not expand paths in taskfile --- pkg/project/common/aemw | 10 +++++++++- pkg/project/common/taskw | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pkg/project/common/aemw b/pkg/project/common/aemw index f5a18766..0c7c155d 100755 --- a/pkg/project/common/aemw +++ b/pkg/project/common/aemw @@ -113,7 +113,15 @@ if [ "${VERSION}" != "installed" ] ; then } fi +# Prevent OS or shell-specific glitches +# ===================================== + +# https://stackoverflow.com/questions/7250130/how-to-stop-mingw-and-msys-from-mangling-path-names-given-at-the-command-line +export MSYS_NO_PATHCONV=1 +export MSYS2_ARG_CONV_EXCL="*" +export MSYS2_ENV_CONV_EXCL="*" + # Execute AEM Compose CLI -# ========================================== +# ======================= aem "$@" diff --git a/pkg/project/common/taskw b/pkg/project/common/taskw index ccfcba89..446e17c0 100755 --- a/pkg/project/common/taskw +++ b/pkg/project/common/taskw @@ -108,6 +108,14 @@ if [ ! -f "${BIN_EXEC_FILE}" ]; then chmod +x "${BIN_EXEC_FILE}" fi +# Prevent OS or shell-specific glitches +# ===================================== + +# https://stackoverflow.com/questions/7250130/how-to-stop-mingw-and-msys-from-mangling-path-names-given-at-the-command-line +export MSYS_NO_PATHCONV=1 +export MSYS2_ARG_CONV_EXCL="*" +export MSYS2_ENV_CONV_EXCL="*" + # Execute Task Tool # =================