From 9bf042f8a99f13b0ddcb50cfecfd9bda5f107959 Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Fri, 26 May 2017 16:18:26 +0200 Subject: [PATCH] Add $basename variable --- lib/autoupdate.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/autoupdate.ps1 b/lib/autoupdate.ps1 index 785937720..51a7686c9 100644 --- a/lib/autoupdate.ps1 +++ b/lib/autoupdate.ps1 @@ -100,6 +100,7 @@ function get_hash_for_app([String] $app, $config, [String] $version, [String] $u $hashfile_url = substitute $config.url @{ '$url' = (strip_fragment $url); '$baseurl' = (strip_filename (strip_fragment $url)).TrimEnd('/') + '$basename' = $basename } $hashfile_url = substitute $hashfile_url $substitutions write-host -f yellow $hashfile_url