bugfix(yq) update install.ps1 (fix #313)
authorliudonghua <liudonghua123@gmail.com>
Wed, 17 Nov 2021 03:43:43 +0000 (11:43 +0800)
committerAJ ONeal <aj@therootcompany.com>
Sun, 21 Nov 2021 03:22:46 +0000 (03:22 +0000)
yq/install.ps1

index 94b989c8b912138bc2cf2ff9f164062246a9b78e..7597f9b5b614b7d2f4539beff6b51dcd979d7451 100644 (file)
@@ -33,7 +33,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
 
         echo "Install Location: $pkg_src_cmd"
         New-Item "$pkg_src_bin" -ItemType Directory -Force | out-null
-        Move-Item -Path ".\yq.exe" -Destination "$pkg_src_bin"
+        Move-Item -Path ".\yq*.exe" -Destination "$pkg_src_cmd"
 
     popd
 }