summaryrefslogtreecommitdiffstats
path: root/packaging/windows/win-build-dir.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:33:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:34:10 +0000
commit83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch)
tree2e69833b43f791ed253a7a20318b767ebe56cdb8 /packaging/windows/win-build-dir.sh
parentReleasing debian version 1.47.5-1. (diff)
downloadnetdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz
netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/windows/win-build-dir.sh')
-rw-r--r--packaging/windows/win-build-dir.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/packaging/windows/win-build-dir.sh b/packaging/windows/win-build-dir.sh
index 09dd6b977..035ab7d9f 100644
--- a/packaging/windows/win-build-dir.sh
+++ b/packaging/windows/win-build-dir.sh
@@ -1,11 +1,7 @@
#!/bin/bash
if [ -n "${BUILD_DIR}" ]; then
- if (echo "${BUILD_DIR}" | grep -q -E "^[A-Z]:\\\\"); then
- build="$(echo "${BUILD_DIR}" | sed -e 's/\\/\//g' -e 's/^\([A-Z]\):\//\/\1\//' -)"
- else
- build="${BUILD_DIR}"
- fi
+ build="$(cygpath -u "${BUILD_DIR}")"
elif [ -n "${OSTYPE}" ]; then
if [ -n "${MSYSTEM}" ]; then
build="${REPO_ROOT}/build-${OSTYPE}-${MSYSTEM}"