From c5ac3888e07c086d15e6aaf36ce7aa0d81eb5ab8 Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Wed, 11 Jul 2012 16:07:56 -0400 Subject: [PATCH] Create a /root directory --- bootstrap.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstrap.ps1 b/bootstrap.ps1 index d9480ce..f596391 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -13,6 +13,11 @@ function Install-Cygwin { } } +function Create-RootDirectory { + # Our bootstrapping scripts rely on /root existing in a bash shell. + New-Item C:\cygwin\root -Type Directory | Out-Null +} + function Register-Sshd { Add-Type -Assembly System.Web $password = [Web.Security.Membership]::GeneratePassword(16, 4) @@ -22,4 +27,5 @@ function Register-Sshd { } Install-Cygwin +Create-RootDirectory Register-Sshd