mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 17:32:27 +08:00 
			
		
		
		
	adjust required string double quotes
This commit is contained in:
		| @@ -50,11 +50,11 @@ function Create-Archive($source, $target, $params) { | ||||
| function Flatten-Directory($name) { | ||||
|     $name = Resolve-Path $name | ||||
|     $child = (Get-Childitem $name)[0] | ||||
|     $moving = $($name)_moving | ||||
|     $moving = "$($name)_moving" | ||||
|     Write-Verbose "Moving the '$child' directory's content to '$name'" | ||||
|     Rename-Item "$name" -NewName "$moving" | ||||
|     Move-Item -Path "$child" -Destination "$name" | ||||
|     Remove-Item -Recurse "$moving" | ||||
|     Rename-Item $name -NewName $moving | ||||
|     Move-Item -Path $child -Destination $name | ||||
|     Remove-Item -Recurse $moving | ||||
| } | ||||
|  | ||||
| function Digest-Hash($path) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user