Skip to content

Commit

Permalink
Merge pull request #477 from brwilkinson/master
Browse files Browse the repository at this point in the history
removed iex (invoke-expression) from windows install script
  • Loading branch information
carolynvs-msft authored Aug 1, 2019
2 parents f1a892d + 0473325 commit a783b48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/install/install-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ mkdir -f $PORTER_HOME

(new-object System.Net.WebClient).DownloadFile("$PORTER_URL/$PORTER_VERSION/porter-windows-amd64.exe", "$PORTER_HOME\porter.exe")
(new-object System.Net.WebClient).DownloadFile("$PORTER_URL/$PORTER_VERSION/porter-linux-amd64", "$PORTER_HOME\porter-runtime")
echo "Installed $(iex "$PORTER_HOME\porter.exe version")"
echo "Installed $(& $PORTER_HOME\porter.exe version)"

$FEED_URL="$PORTER_URL/atom.xml"
iex "$PORTER_HOME/porter mixin install exec --version $PORTER_VERSION --feed-url $FEED_URL"
iex "$PORTER_HOME/porter mixin install kubernetes --version $PORTER_VERSION --feed-url $FEED_URL"
iex "$PORTER_HOME/porter mixin install helm --version $PORTER_VERSION --feed-url $FEED_URL"
iex "$PORTER_HOME/porter mixin install azure --version $PORTER_VERSION --feed-url $FEED_URL"
& $PORTER_HOME/porter mixin install exec --version $PORTER_VERSION --feed-url $FEED_URL
& $PORTER_HOME/porter mixin install kubernetes --version $PORTER_VERSION --feed-url $FEED_URL
& $PORTER_HOME/porter mixin install helm --version $PORTER_VERSION --feed-url $FEED_URL
& $PORTER_HOME/porter mixin install azure --version $PORTER_VERSION --feed-url $FEED_URL

echo "Installation complete."
echo "Add porter to your path by running:"
Expand Down

0 comments on commit a783b48

Please sign in to comment.