|
@@ -38,11 +38,11 @@ $SourcePath = (Resolve-Path $Dir).Path
|
|
|
$SourceRoot = [System.IO.Path]::GetFullPath($SourcePath)
|
|
|
$SourceRoot = Join-Path $SourceRoot $Package
|
|
|
$TargetRoot = [System.IO.Path]::GetFullPath($Target)
|
|
|
-Write-Host "Parameters:"
|
|
|
-foreach ($param in $MyInvocation.MyCommand.Parameters.Keys) {
|
|
|
- $value = Get-Variable -Name $param -ValueOnly -ErrorAction SilentlyContinue
|
|
|
- Write-Host "$param = $value"
|
|
|
-}
|
|
|
+#Write-Host "Parameters:"
|
|
|
+#foreach ($param in $MyInvocation.MyCommand.Parameters.Keys) {
|
|
|
+# $value = Get-Variable -Name $param -ValueOnly -ErrorAction SilentlyContinue
|
|
|
+# Write-Host "$param = $value"
|
|
|
+#}
|
|
|
|
|
|
function Is-Under($child, $parent) {
|
|
|
$child = [System.IO.Path]::GetFullPath($child)
|