Skip to content

Commit 2ffe1c6

Browse files
committed
Removing temp dir in Linux
1 parent d59dd37 commit 2ffe1c6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

playbooks/supplemental/cvml/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ $playbookRoot = (Get-Location).Path
389389
if (-not $env:OPENCV_INSTALL_ROOT) {throw "OPENCV_INSTALL_ROOT is not set."}
390390
if (-not $env:OpenCV_DIR) {throw "OpenCV_DIR is not set."}
391391
392-
$work = $work = Join-Path (Get-Location) "cvml-test"
392+
$work = Join-Path (Get-Location) "cvml-test"
393393
New-Item -ItemType Directory -Force -Path $work | Out-Null
394394
395395
try {
@@ -480,7 +480,8 @@ if [ -z "${OPENCV_INSTALL_ROOT:-}" ]; then
480480
exit 1
481481
fi
482482

483-
work="$(mktemp -d)"
483+
work="$PWD/cvml-test"
484+
mkdir -p "$work"
484485
cleanup() {
485486
rm -rf "$work"
486487
}

0 commit comments

Comments
 (0)