diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-25 14:45:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-25 15:28:16 +0000 |
commit | 5e1bf7f1473ac3099948e1406d4ea8ba4af2be95 (patch) | |
tree | 524889e5becb81643bf8741e3082955dca076f09 /packaging/windows/win-build-dir.sh | |
parent | Releasing debian version 1.47.5-1. (diff) | |
download | netdata-5e1bf7f1473ac3099948e1406d4ea8ba4af2be95.tar.xz netdata-5e1bf7f1473ac3099948e1406d4ea8ba4af2be95.zip |
Merging upstream version 2.0.3+dfsg.
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.sh | 6 |
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}" |