We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68bfa36 commit 77ee357Copy full SHA for 77ee357
eng/source-build-toolset-init.sh
@@ -71,7 +71,7 @@ function source_only_toolset_init() {
71
elif [ -f "$sourceBuiltArchive" ]; then
72
# Extract safely into a private temporary directory and ensure cleanup.
73
tempDir="$(mktemp -d)"
74
- trap 'rm -rf "${tempDir}"' EXIT
+ trap "rm -rf '${tempDir}'" EXIT # tempDir is local, use double quotes to expand.
75
tar -xzf "$sourceBuiltArchive" -C "$tempDir" PackageVersions.props
76
packageVersionsPath="$tempDir/PackageVersions.props"
77
fi
0 commit comments