diff options
| author | Charles E. Rolke <chug@apache.org> | 2015-03-25 18:59:46 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2015-03-25 18:59:46 +0000 |
| commit | ca237ebac28808fc6d964724d4c1d569c6010e1f (patch) | |
| tree | 640d1ee161b02dc3d09d6b75a7b4310d20beb71b /cpp | |
| parent | 2ff7002d1473ff2889bf59243420708f1405a54c (diff) | |
| download | qpid-python-ca237ebac28808fc6d964724d4c1d569c6010e1f.tar.gz | |
QPID-6463: Adjust for changes between proton 0.8 and 0.9: test that items exist before trying to delete them
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1669208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/bld-winsdk.ps1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/bld-winsdk.ps1 b/cpp/bld-winsdk.ps1 index 441280c4b0..1a6727fc07 100644 --- a/cpp/bld-winsdk.ps1 +++ b/cpp/bld-winsdk.ps1 @@ -308,7 +308,10 @@ function BuildAPlatform } if ($sharedInstallDir -ne "") { foreach ($pattern in $removeProtonShared) { - Remove-Item -recurse "$install_dir/$pattern" + $target = Join-Path $install_dir $pattern + if (Test-Path -path $target) { + Remove-Item -recurse $target + } } } |
