From 40aad7fe73fa05037b1951add3fef225273a1623 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 2 Jan 2021 09:50:21 +0000 Subject: [PATCH] Improved list-os-release.ps1 --- Scripts/list-os-releases.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/list-os-releases.ps1 b/Scripts/list-os-releases.ps1 index a57c78bb..acb514e2 100755 --- a/Scripts/list-os-releases.ps1 +++ b/Scripts/list-os-releases.ps1 @@ -8,7 +8,7 @@ try { write-progress "Reading OS_IPFS_hashes.csv" - $PathToRepo = (get-item $MyInvocation.MyCommand.Path).directory.parent + $PathToRepo = "$PSScriptRoot/.." $PathToCsvFile = "$PathToRepo/Data/os-release.csv" invoke-webRequest -URI "https://fleschutz.droppages.com/downloads/OS_IPFS_hashes.csv" -outFile "$PathToCsvFile" $Table = import-csv "$PathToCsvFile"