diff --git a/1k/fetch.ps1 b/1k/fetch.ps1 index 025af82ed4..ca4119e0a9 100644 --- a/1k/fetch.ps1 +++ b/1k/fetch.ps1 @@ -134,9 +134,11 @@ if (!$is_git_repo) { if ($match_info.Success) { $version = $match_info.Value } + $lib_src = Join-Path $prefix $url_pkg_name +} +else { + $lib_src = Join-Path $prefix $name } - -$lib_src = Join-Path $prefix $name if (!$version) { throw "fetch.ps1: can't determine package version of '$name'"