mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 03:11:45 +00:00
bugfix: parent of file is directory property
This commit is contained in:
parent
878db9489b
commit
7c86d72ece
@ -178,7 +178,7 @@ function InstallNerdFont
|
|||||||
|
|
||||||
$fileName = [System.IO.Path]::GetFileNameWithoutExtension($source)
|
$fileName = [System.IO.Path]::GetFileNameWithoutExtension($source)
|
||||||
$parent = Get-ChildItem $source | `
|
$parent = Get-ChildItem $source | `
|
||||||
Select-Object -ExpandProperty Parent | `
|
Select-Object -ExpandProperty Directory | `
|
||||||
Select-Object -ExpandProperty FullName
|
Select-Object -ExpandProperty FullName
|
||||||
$destination = "$parent\$fileName"
|
$destination = "$parent\$fileName"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user