Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MakeRelease.ps1 #28

Closed
wants to merge 2 commits into from
Closed

Update MakeRelease.ps1 #28

wants to merge 2 commits into from

Conversation

frizop
Copy link

@frizop frizop commented Sep 15, 2013

Just verify that the script is not being run from powershell (which is how I run this)

Just verify that the script is not being run from powershell (which is how I run this)
@@ -46,7 +45,12 @@ del $PSScriptRoot\PSReadline.zip -ea Ignore

if ($Install)
{
$InstallDir = "${env:HOME}\Documents\WIndowsPowerShell\Modules"
if ($PSVersionTable.PSVersion.Major) {
$InstallDir = "$HOME\Documents\WIndowsPowerShell\Modules"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just get rid of the if and use this line - I forgot about $HOME.

@lzybkr
Copy link
Member

lzybkr commented Sep 19, 2013

I applied my suggested change - 2d99c30

@lzybkr lzybkr closed this Sep 19, 2013
@lzybkr
Copy link
Member

lzybkr commented Sep 19, 2013

Oops, I missed that this pull request was updated - sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants