bryandam / SoftwareUpdateScripts

A collection of scripts related to Software Updates
GNU General Public License v3.0
45 stars 11 forks source link

Clean Sources: Fails when path contains brackets #36

Open bryandam opened 3 years ago

bryandam commented 3 years ago

The clean sources routine doesn't work if brackets are in the unc path name. Test-Path returns always $false if there are brackets in the path. This can be fixed with the parameter -LiteralPath on line 2182.

spitfire commented 3 years ago

For me the -CleanSources does not work (as in does not clean up any files) even though my SUGs were cleaned. The SCEP deployment package is over 3 Gigs, despite having just a few updates in it. Tried using the workaround from above, as I thought a $ sign which is part of my share name, and the only special sign in the patch might be an issue, but nothing changed.