mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 22:01:19 +00:00 
			
		
		
		
	fix(bin): allow spaces in paths in checkver.ps1 and other scripts
- See https://github.com/lukesampson/scoop-extras/pull/2437
This commit is contained in:
		
							parent
							
								
									b601d01d6b
								
							
						
					
					
						commit
						2ec976391f
					
				| @ -6,4 +6,4 @@ param( | ||||
| if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) } | ||||
| $autopr = "$env:SCOOP_HOME/bin/auto-pr.ps1" | ||||
| $dir = "$psscriptroot/../bucket" # checks the parent dir | ||||
| Invoke-Expression -command "$autopr -dir $dir -upstream $upstream $($args | ForEach-Object { "$_ " })" | ||||
| Invoke-Expression -command "& '$autopr' -dir '$dir' -upstream $upstream $($args | ForEach-Object { "$_ " })" | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) } | ||||
| $checkurls = "$env:SCOOP_HOME/bin/checkurls.ps1" | ||||
| $dir = "$psscriptroot/../bucket" # checks the parent dir | ||||
| Invoke-Expression -command "$checkurls -dir $dir $($args | ForEach-Object { "$_ " })" | ||||
| Invoke-Expression -command "& '$checkurls' -dir '$dir' $($args | ForEach-Object { "$_ " })" | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) } | ||||
| $checkver = "$env:SCOOP_HOME/bin/checkver.ps1" | ||||
| $dir = "$psscriptroot/../bucket" # checks the parent dir | ||||
| Invoke-Expression -command "$checkver -dir $dir $($args | ForEach-Object { "$_ " })" | ||||
| Invoke-Expression -command "& '$checkver' -dir '$dir' $($args | ForEach-Object { "$_ " })" | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) } | ||||
| $formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1" | ||||
| $path = "$psscriptroot/../bucket" # checks the parent dir | ||||
| Invoke-Expression -command "$formatjson -dir $path $($args | ForEach-Object { "$_ " })" | ||||
| Invoke-Expression -command "& '$formatjson' -dir '$path' $($args | ForEach-Object { "$_ " })" | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) } | ||||
| $missing_checkver = "$env:SCOOP_HOME/bin/missing-checkver.ps1" | ||||
| $dir = "$psscriptroot/../bucket" # checks the parent dir | ||||
| Invoke-Expression -command "$missing_checkver -dir $dir $($args | ForEach-Object { "$_ " })" | ||||
| Invoke-Expression -command "& '$missing_checkver' -dir '$dir' $($args | ForEach-Object { "$_ " })" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Richard Kuhnt
						Richard Kuhnt