From c706731b871feff3b08543f0fc40c18eab47e07f Mon Sep 17 00:00:00 2001 From: Benjamin Reed Date: Thu, 23 Feb 2023 22:10:01 -0500 Subject: [PATCH] cross-platform update --- mw5-sync.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mw5-sync.ps1 b/mw5-sync.ps1 index 4f04164..1e9341e 100644 --- a/mw5-sync.ps1 +++ b/mw5-sync.ps1 @@ -13,7 +13,7 @@ if (-not ${env:TEMP}) { ${env:TEMP} = "/tmp" } -${env:PATH} += ";." +$env:PATH = '{0}{1}{2}' -f $env:PATH,[IO.Path]::PathSeparator,'.' $UNPACK_DIR = Join-Path -Path (Join-Path -Path $MW5_DIR -ChildPath "MW5Mercs") -ChildPath "mods" $DOWNLOAD_PATH = Join-Path -Path ${env:TEMP} -ChildPath "MW5Mercs_mod_downloads"