Skip to content

Commit

Permalink
This is frustrating
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcin committed Sep 8, 2019
1 parent f4a71c7 commit d1d6fbe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions travis-ci-win-refreshenv.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
powershell -NonInteractive - <<\EOF
Get-Location
refreshenv
Get-Location
# Round brackets in variable names cause problems with bash
Get-ChildItem env:* | %{
if (!($_.Name.Contains('('))) {
Expand All @@ -11,7 +11,6 @@ Get-ChildItem env:* | %{
Write-Output ("export " + $_.Name + "='" + $value + "'")
}
} | Tee-Object | Out-File -Encoding ascii .\refreshenv.sh
Get-ChildItem .\refreshenv
Get-ChildItem .\refreshenv.sh
EOF
pwd
source "./refreshenv.sh"

0 comments on commit d1d6fbe

Please sign in to comment.