Author: chug
Date: Wed Mar 25 18:59:46 2015
New Revision: 1669208
URL: http://svn.apache.org/r1669208
Log:
QPID-6463: Adjust for changes between proton 0.8 and 0.9: test that items exist
before trying to delete them
Modified:
qpid/trunk/qpid/cpp/bld-winsdk.ps1
Modified: qpid/trunk/qpid/cpp/bld-winsdk.ps1
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bld-winsdk.ps1?rev=1669208&r1=1669207&r2=1669208&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bld-winsdk.ps1 (original)
+++ qpid/trunk/qpid/cpp/bld-winsdk.ps1 Wed Mar 25 18:59:46 2015
@@ -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
+ }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]