mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 15:13:49 +00:00
bugfix: use $tmp dir if no destination provided
This commit is contained in:
parent
7378dacaa5
commit
7d8872d70d
@ -126,6 +126,12 @@ function ProcessUrlFiles
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
# Use $tmpApp as destination in case of git repo
|
||||
if (-not $destinationDir)
|
||||
{ $destinationPath = "$tmpApp\$fileName"
|
||||
}
|
||||
|
||||
# If the URL is a git repository, pull it
|
||||
if (IsGitRepository -dir $destinationPath -url $url)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user