Fix my mistake of previous commit.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Thu, 16 Nov 2017 06:11:31 +0000 (15:11 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Thu, 16 Nov 2017 08:20:53 +0000 (17:20 +0900)
winbuild/MSProgram-Get.psm1

index 9fbfd658fcda356784aad86fec6d3670063c34ad..1631ff53dd11b3d28724ee90bc593b6c15d9cc68 100644 (file)
@@ -202,7 +202,7 @@ function msbfind_15_xx
    return "${vsdir}MSBuild\$toolsver\Bin\MSBuild.exe"
 }
 
-#$dumpbinexe = ""
+$dumpbinexe = ""
 $addPath=""
 
 function Find-Dumpbin
@@ -279,7 +279,6 @@ function dumpbinRecurs
           [string]$dllname,
           [Parameter(Mandatory=$true)]
           [string]$dllfolder,
-          [Parameter(Mandatory=$true)]
           [array]$instarray)
 
    $tmem=& ${dumpbinexe} /imports "$dllfolder\${dllname}" | select-string -pattern "^\s*(\S*\.dll)" | foreach-object {$_.Matches.Groups[1].Value} | where-object {test-path ("${dllfolder}\" + $_)}